freebsd-skq/sys/dev/firewire
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
..
00README
firewire_phy.h
firewire.c Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
firewire.h Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
firewirereg.h Protect transaction labels by its own lock to reduce lock contention. 2007-07-20 03:42:57 +00:00
fwcrom.c Don't type pun accidentally. Instead, be explicit that we're type 2006-02-04 21:37:39 +00:00
fwdev.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
fwdma.c MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
fwdma.h
fwmem.c MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
fwmem.h
fwohci_pci.c MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
fwohci.c - Fix panic on detach. 2008-05-10 13:40:42 +00:00
fwohcireg.h MFp4: Improve asynchronous packet receive process. 2007-04-30 14:06:30 +00:00
fwohcivar.h MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
fwphyreg.h
iec13213.h
iec68113.h
if_fwe.c Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
if_fwevar.h MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
if_fwip.c Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
if_fwipvar.h MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
sbp_targ.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
sbp.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
sbp.h