freebsd-dev/sys/pc98/cbus
Ed Schouten 6bfa9a2d66 Replace all calls to minor() with dev2unit().
After I removed all the unit2minor()/minor2unit() calls from the kernel
yesterday, I realised calling minor() everywhere is quite confusing.
Character devices now only have the ability to store a unit number, not
a minor number. Remove the confusion by using dev2unit() everywhere.

This commit could also be considered as a bug fix. A lot of drivers call
minor(), while they should actually be calling dev2unit(). In -CURRENT
this isn't a problem, but it turns out we never had any problem reports
related to that issue in the past. I suspect not many people connect
more than 256 pieces of the same hardware.

Reviewed by:	kib
2008-09-27 08:51:18 +00:00
..
30line.h
cbus_dma.c
cbus_dmareg.h
cbus.h
clock.c MFi386: revision 1.249 2008-05-24 09:07:52 +00:00
fdc_cbus.c
fdc.c
fdcreg.h
fdcvar.h
gdc.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
nmi.c
olpt.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
olptreg.h
pckbd.c Use kbdd_* macros. 2007-12-30 12:27:31 +00:00
pckbdtables.h
pcrtc.c MFi386: Merge yet another the RTC related work. 2008-04-19 08:18:47 +00:00
pmc.c
sc_machdep.h Always set the bell_pitch to 800. This catch up with the sysbeep() argument 2008-04-08 13:10:57 +00:00
scgdcrndr.c
scterm-sck.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scvtb.c
sio_cbus.c
sio.c - Cleanup i8251 related defines. 2008-09-07 04:35:04 +00:00
syscons_cbus.c Always set the bell_pitch to 800. This catch up with the sysbeep() argument 2008-04-08 13:10:57 +00:00