cvs commit: src/sys/pci if_sis.c if_sisreg.h
Olivier Houchard
cognet at FreeBSD.org
Mon Jul 21 18:35:11 PDT 2003
cognet 2003/07/21 18:35:09 PDT
FreeBSD src repository
Modified files:
sys/pci if_sis.c if_sisreg.h
Log:
Erm, my previous commit was wrong and sis_tick() was only called each time
sis_ioctl() was called, so one had to use ifconfig each time the cable got
plugged in to be able to use the connection.
Do it a better way now, add a "in_tick" field in the softc structure,
call timeout() in sis_tick() and don't call it in sis_init() if in_tick is
non-zero.
Reported by: Landmark Networks
Pointy hat to: cognet
Revision Changes Path
1.79 +5 -1 src/sys/pci/if_sis.c
1.22 +1 -0 src/sys/pci/if_sisreg.h
More information about the cvs-src
mailing list