version 1.75, 2007/03/04 06:02:12 |
version 1.75.10.1, 2007/09/03 10:20:55 |
Line 477 struct iy_softc *sc; |
|
Line 477 struct iy_softc *sc; |
|
bus_space_write_1(iot, ioh, EEPROM_REG, temp & ~0x10); |
bus_space_write_1(iot, ioh, EEPROM_REG, temp & ~0x10); |
|
|
for (i=0; i<6; ++i) { |
for (i=0; i<6; ++i) { |
bus_space_write_1(iot, ioh, I_ADD(i), LLADDR(ifp->if_sadl)[i]); |
bus_space_write_1(iot, ioh, I_ADD(i), CLLADDR(ifp->if_sadl)[i]); |
} |
} |
|
|
temp = bus_space_read_1(iot, ioh, REG1); |
temp = bus_space_read_1(iot, ioh, REG1); |
Line 1267 iyioctl(ifp, cmd, data) |
|
Line 1267 iyioctl(ifp, cmd, data) |
|
|
|
case SIOCADDMULTI: |
case SIOCADDMULTI: |
case SIOCDELMULTI: |
case SIOCDELMULTI: |
error = (cmd == SIOCADDMULTI) ? |
if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) { |
ether_addmulti(ifr, &sc->sc_ethercom): |
|
ether_delmulti(ifr, &sc->sc_ethercom); |
|
|
|
if (error == ENETRESET) { |
|
/* |
/* |
* Multicast list has changed; set the hardware filter |
* Multicast list has changed; set the hardware filter |
* accordingly. |
* accordingly. |