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 - Move bus dependent defines to {isa,cbus}_dmareg.h. 2005-05-14 10:14:56 +00:00
cbus_dmareg.h - Move bus dependent defines to {isa,cbus}_dmareg.h. 2005-05-14 10:14:56 +00:00
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 Fix my copyright. 2005-05-14 10:51:16 +00:00
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 Remove EPSON PC-386 note A/W/AE/WR support. 2005-09-14 12:39:06 +00:00
olpt.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
olptreg.h Fix my copyright. 2005-05-14 10:51:16 +00:00
pckbd.c Use kbdd_* macros. 2007-12-30 12:27:31 +00:00
pckbdtables.h Move the pc98 keymap define into pckbdtables.h because it should be used 2005-05-12 13:39:31 +00:00
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 Fix my copyright. 2005-05-14 10:51:16 +00:00
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