freebsd-nq/sys/dev
Nate Lawson 9123341378 Add support to ACPI to manage its own resources. Previously, resource
allocation was passed up to nexus.  Now, we probe sysresource objects and
manage the resources they describe in a local rman pool.  This helps
devices which attach/detach varying resources (like the _CST object) and
module loads/unloads.  The allocation/release routines now check to see if
the resource is described in a child sysresource object and if so,
allocate from the local rman.  Sysresource objects add their resources to
the pool and reserve them upon boot.  This means sysresources need to be
probed before other ACPI devices.

Changes include:
* Add ordering to the child device probe.  The current order is:  system
resource objects, embedded controllers, then everything else.
* Make acpi_MatchHid take a handle instead of a device_t arg.
* Replace acpi_{get,set}_resource with the generic equivalents.
2004-06-13 22:52:30 +00:00
..
aac Cast printf'ed values to intmax_t. 2004-06-13 17:57:15 +00:00
acpi_support Add missing #include <sys/module.h> 2004-05-30 20:34:58 +00:00
acpica Add support to ACPI to manage its own resources. Previously, resource 2004-06-13 22:52:30 +00:00
adlink Add missing <sys/module.h> includes currently relying on nested include 2004-06-03 06:10:02 +00:00
advansys Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
agp Add missing <sys/module.h> includes 2004-05-30 20:00:41 +00:00
aha Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ahb Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
aic Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
aic7xxx Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
amd Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
amr Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
an Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
ar Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
arl Remove extra semicolon. 2004-06-02 18:03:07 +00:00
asr Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
ata Back out the last change as that broke some SATA devices. 2004-06-11 07:39:15 +00:00
ath use correct malloc type to allocate struct ieee80211_node's 2004-04-05 04:42:42 +00:00
atkbdc Remove atdevbase and replace it's remaining uses with direct references to 2004-06-10 20:31:00 +00:00
awi Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
bfe Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
bge Add some special case code to fix a problem with the BCM5704 in TBI (fiber) 2004-06-09 16:01:59 +00:00
bktr Style cleanup. 2004-06-11 18:47:44 +00:00
buslogic Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
cardbus Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
ciss Document the 64bit version of blocks_to_recover for logical drive status. 2004-06-05 18:31:04 +00:00
cm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
cnw We don't need to initialize if_output, ether_ifattach() does it 2004-05-23 16:11:53 +00:00
cp Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
cs Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
ct Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ctau Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
cx Free tty at detach(). 2004-06-10 13:50:28 +00:00
cy Deorbit COMPAT_SUNOS. 2004-06-11 11:16:26 +00:00
dc Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
dcons Machine generated patch which changes linedisc calls from accessing 2004-06-04 16:02:56 +00:00
de Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
dec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
digi Deorbit COMPAT_SUNOS. 2004-06-11 11:16:26 +00:00
dpt Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
drm Merge from DRI CVS as of 2004-05-26. Most of the meat is new PCI IDs and a new 2004-06-11 03:26:59 +00:00
ed Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
eisa When adding files to the repo, it is very important to not forget 2004-06-09 16:56:22 +00:00
em Implement support for controlling VLAN_HWTAGGING through ioctl(SIOCSIFCAP). 2004-06-04 16:57:18 +00:00
en Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
ep Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
esp Pass the correct argument to ncr53c9x_timeout() 2004-06-13 18:45:57 +00:00
ex Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
exca Card type stuff was backwards, so assume io for the moment. mem needs 2003-10-07 04:29:04 +00:00
fatm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
fb Remove atdevbase and replace it's remaining uses with direct references to 2004-06-10 20:31:00 +00:00
fdc Use rman_get_start in preference to reaching into the rman structure. 2004-05-27 22:43:10 +00:00
fe Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
firewire Add configuration rom entries for IP over firewire. 2004-06-13 13:58:00 +00:00
fxp Abstract the locking in fxp(4) a bit more by using macros for 2004-06-02 22:59:57 +00:00
gem - Remove a variable no longer used after the conversion to ether_crc32_le(). 2004-06-10 00:04:16 +00:00
gfb Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
gx Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
harp Make sure that the first mbuf in the chain passed to atm_intr 2004-02-21 13:01:54 +00:00
hatm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
hfa Delete an unused file which no longer compiles anyway. 2004-04-20 15:33:24 +00:00
hifn Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
hme Back out 1.23 until I figure out why it causes Netra t1 100 to no longer 2004-06-12 02:23:06 +00:00
ic Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
ichsmb Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
ichwd make code less broken, only try to create unit 0 since there can only 2004-06-13 05:00:19 +00:00
ida Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
idt Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ie Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
if_ndis Take advantage of the dev sysctl tree. 2004-06-04 22:24:46 +00:00
iicbus Make "envctrl" a known master driver for iicbus. 2004-05-27 13:29:09 +00:00
iir Update from vendor. This also adds support for newer management tools. 2004-05-19 17:46:34 +00:00
ips Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
isp Add missing <sys/module.h> includes currently relying on nested include 2004-06-03 06:10:02 +00:00
ispfw Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
ixgb Add missing <sys/module.h> includes currently relying on nested include 2004-06-03 06:10:02 +00:00
joy Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
kbd Remove atdevbase and replace it's remaining uses with direct references to 2004-06-10 20:31:00 +00:00
led - Remove the __FBSDID and put the $FreeBSD$ tag in the comment above, 2004-05-10 11:50:21 +00:00
lge Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
lnc Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
matcd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mc146818
mca Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mcd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
md Fix panic which occurs when given sector size for memory-backed device 2004-05-18 07:30:04 +00:00
mii Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
mk48txx Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mlx Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
mly Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mpt Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mse Add missing #include <sys/module.h> 2004-05-30 20:34:58 +00:00
musycc Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
my Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
ncv Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
nge Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
nmdm Machine generated patch which changes linedisc calls from accessing 2004-06-04 16:02:56 +00:00
nsp Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
null Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
ofw Remove second <sys/cdefs.h> and __FBSDID. 2004-06-10 22:15:51 +00:00
owi Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
patm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pccard Don't nest includes here. There's no need and the subset included is lame. 2004-05-28 02:24:07 +00:00
pccbb Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
pcf Add a first version of a pcf(4) front-end for the Sun i2c devices ("i2c" 2004-06-10 21:56:52 +00:00
pci Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
pcic Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pdq Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
ppbus Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
ppc Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
pst Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
puc Add missing <sys/module.h> includes currently relying on nested include 2004-06-03 06:10:02 +00:00
random Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
ray Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
rc Centralize the line discipline optimization determination in a function 2004-06-04 21:55:55 +00:00
re Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
rndtest Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rp Deorbit COMPAT_SUNOS. 2004-06-11 11:16:26 +00:00
sab Implement the BREAK_TO_DEBUGGER option for sab(4). 2004-06-08 11:58:34 +00:00
safe Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
sbni We don't need to initialize if_output, ether_ifattach() does it 2004-05-23 16:11:53 +00:00
sbsh Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
scd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
sf Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
si Deorbit COMPAT_SUNOS. 2004-06-11 11:16:26 +00:00
sio Deorbit COMPAT_SUNOS. 2004-06-11 11:16:26 +00:00
sk Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
smbus Fix various style(9) bugs. This includes the removal of wrong 2004-05-17 18:55:45 +00:00
sn Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
snc We don't need to initialize if_output, ether_ifattach() does it 2004-05-23 16:11:53 +00:00
snp Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
sound Add PCI identifier for Dell modified SBLive! card 2004-06-13 22:12:02 +00:00
speaker Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sr Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
stg Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
streams Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sx Deorbit COMPAT_SUNOS. 2004-06-11 11:16:26 +00:00
sym Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
syscons Manual edits to change linesw[]-frobbing to ttyld_*() calls. 2004-06-04 20:04:52 +00:00
tdfx Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
tga Add missing <sys/module.h> includes currently relying on nested include 2004-06-03 06:10:02 +00:00
ti Add missing <sys/module.h> includes 2004-05-30 20:00:41 +00:00
trm Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
twa Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
twe Fix for a problem seen only on 6xxx series controllers, where-in the 2004-06-11 18:42:44 +00:00
tx Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
txp Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
uart Machine generated patch which changes linedisc calls from accessing 2004-06-04 16:02:56 +00:00
ubsec Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
usb To support the promiscuous mode udav(4) driver 2004-06-13 11:22:58 +00:00
utopia Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
vinum Plug a mem leak in vinum_scandisk(). 2004-04-24 23:41:21 +00:00
vr Replace handrolled CRC calculation with ether_crc32_[lb]e(). 2004-06-09 14:34:04 +00:00
vx Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
watchdog Add a generic watchdog facility which through a single device entry 2004-02-28 20:06:59 +00:00
wds Use __FBSDID(). 2003-08-24 17:55:58 +00:00
wi Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
wl Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
xe Replace convoluted and broken CRC calcuation with ether_crc32_le(). 2004-06-09 00:30:11 +00:00
zs Machine generated patch which changes linedisc calls from accessing 2004-06-04 16:02:56 +00:00