diff options
| author | Warner Losh <imp@FreeBSD.org> | 2012-06-28 07:28:39 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2012-06-28 07:28:39 +0000 |
| commit | cfe4885cf83a7eba3124326a67a94b2dd46a68c9 (patch) | |
| tree | 471c872e6bc918ad44e344d193d18e7c2017e4be /sys/dev/sio | |
| parent | 96eb909a847541f9b1e6d18c4a0768a118996ed8 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sio')
| -rw-r--r-- | sys/dev/sio/sio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index d389f4547e108..d187a2bab31f7 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -278,6 +278,11 @@ static int sio_inited; /* table and macro for fast conversion from a unit number to its com struct */ devclass_t sio_devclass; +/* + * XXX Assmues that devclass_get_device, devclass_get_softc and + * device_get_softc are fast interrupt safe. The current implementation + * of these functions are. + */ #define com_addr(unit) ((struct com_s *) \ devclass_get_softc(sio_devclass, unit)) /* XXX */ |
