freebsd-skq/sys/dev/sio
John Baldwin 0d484d249f Allow device hints to wire the unit numbers of devices.
- An "at" hint now reserves a device name.
- A new BUS_HINT_DEVICE_UNIT method is added to the bus interface.  When
  determining the unit number of a device, this method is invoked to
  let the bus driver specify the unit of a device given a specific
  devclass.  This is the only way a device can be given a name reserved
  via an "at" hint.
- Implement BUS_HINT_DEVICE_UNIT() for the acpi(4) and isa(4) bus drivers.
  Both of these busses implement this by comparing the resources for a
  given hint device with the resources enumerated by ACPI/PnPBIOS and
  wire a unit if the hint resources are a subset of the "real" resources.
- Use bus_hinted_children() for adding hinted devices on isa(4) busses
  now instead of doing it by hand.
- Remove the unit kludging from sio(4) as it is no longer necessary.

Prodding from:	peter, imp
OK'd by:	marcel
MFC after:	1 month
2008-11-18 21:01:54 +00:00
..
sio_isa.c Allow the sio acpi attachment to be disabled (ie: use hints only). This 2007-11-30 21:45:07 +00:00
sio_pccard.c
sio_pci.c Allow device hints to wire the unit numbers of devices. 2008-11-18 21:01:54 +00:00
sio_puc.c Allow device hints to wire the unit numbers of devices. 2008-11-18 21:01:54 +00:00
sio.c Add a note about a bug in how sio manages its softc. This was 2008-10-08 08:08:03 +00:00
sioreg.h
siovar.h