freebsd-dev/sys/dev/ppbus
Warner Losh 3aabc15941 In ppsintr, we needed ppsdev to get to the softc and nothing else.
Save a memory dereference in the ISR by passing this in directly.
Calling pps_capture is MP safe for all other operations on struct
pps_state, so there's no need to aquire the lock before we do this,
even from a fast ISR.  Avoid dereferencing sc->ppbus until after
pps_capture is called as well.  These actions reduce somewhat the
cache effects that cause variance in interrupt times.  On an
especially slow test machine (300MHz Cyrix GXm), this reduces the
interrupt latency about about 10% (from 21us to 19us) and helps a
little with the variance (although most of the variance seems to be
caused by lots of interrupt masking).

This also happens fixes one or two of bde's style issues.
2005-04-14 15:56:10 +00:00
..
if_plip.c Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
immio.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lpbb.c Prevent the strange situation that after each load/unload of a ppbus 2004-03-18 21:10:11 +00:00
lpt.c Remove unused variable. 2005-03-17 09:32:37 +00:00
lpt.h
lptio.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
pcfclock.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ppb_1284.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppb_1284.h
ppb_base.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppb_msq.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppb_msq.h
ppbconf.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppbconf.h Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
ppbio.h
ppbus_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ppi.c Do not bzero() the softc, as newbus does it for us. 2004-07-09 16:56:46 +00:00
ppi.h
pps.c In ppsintr, we needed ppsdev to get to the softc and nothing else. 2005-04-14 15:56:10 +00:00
vpo.c Do not bzero() the softc, as newbus does it for us. 2004-07-09 16:56:46 +00:00
vpoio.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
vpoio.h