version 1.89, 2008/06/01 00:38:29 |
version 1.89.4.2, 2008/12/13 01:14:35 |
Line 385 tl_pci_attach(device_t parent, device_t |
|
Line 385 tl_pci_attach(device_t parent, device_t |
|
sc->sc_i2c.ic_write_byte = tl_i2c_write_byte; |
sc->sc_i2c.ic_write_byte = tl_i2c_write_byte; |
|
|
#ifdef TLDEBUG |
#ifdef TLDEBUG |
aprint_debug_dev(sefl, "default values of INTreg: 0x%x\n", |
aprint_debug_dev(self, "default values of INTreg: 0x%x\n", |
tl_intreg_read(sc, TL_INT_Defaults)); |
tl_intreg_read(sc, TL_INT_Defaults)); |
#endif |
#endif |
|
|
Line 765 tl_init(struct ifnet *ifp) |
|
Line 765 tl_init(struct ifnet *ifp) |
|
HOST_CMD_GO | HOST_CMD_RT | HOST_CMD_Nes | HOST_CMD_IntOn); |
HOST_CMD_GO | HOST_CMD_RT | HOST_CMD_Nes | HOST_CMD_IntOn); |
sc->tl_if.if_flags |= IFF_RUNNING; |
sc->tl_if.if_flags |= IFF_RUNNING; |
sc->tl_if.if_flags &= ~IFF_OACTIVE; |
sc->tl_if.if_flags &= ~IFF_OACTIVE; |
|
splx(s); |
return 0; |
return 0; |
bad: |
bad: |
printf("%s: %s\n", device_xname(sc->sc_dev), errstring); |
printf("%s: %s\n", device_xname(sc->sc_dev), errstring); |