freebsd-skq/sys/pc98/cbus
ed 4efdef565f 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 - Move defines for PC-98 machine type from pc98/cbus/cbus.h into 2006-05-08 12:03:58 +00:00
clock.c MFi386: revision 1.249 2008-05-24 09:07:52 +00:00
fdc_cbus.c
fdc.c Don't call bus_deactivate_resource() explicitly before calling 2007-03-21 03:38:37 +00:00
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 Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
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