]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Use bus_foo() rather than bus_space_foo() and retire the bus tag and handle
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 23 Jun 2008 18:16:25 +0000 (18:16 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 23 Jun 2008 18:16:25 +0000 (18:16 +0000)
commita43561c2525692cc6ef9b2304c8f9e20a5ce0cc4
tree9239e1f623e9a04cbebc23d0b2468da608753fc5
parentcd610d1cb902c531a185f9fcecd6aa2a2d9152c1
- Use bus_foo() rather than bus_space_foo() and retire the bus tag and handle
  from the softc.
- Rework the watchdog timer to match other NIC drivers:
  - Start a timer in fe_init() that runs once a second and checks a counter
    in the softc that is identical to the deprecated 'if_timer'.
  - Just adjust the softc tx timeout value when sending packets instead of
    scheduling the timer.
- Use IFQ_SET_MAXLEN().

Tested by: WATANABE Kazuhiro
sys/dev/fe/if_fe.c
sys/dev/fe/if_fe_cbus.c
sys/dev/fe/if_fe_isa.c
sys/dev/fe/if_fe_pccard.c
sys/dev/fe/if_fevar.h