freebsd-skq/sys/dev
iwasaki 1b24a8aa4e Add APM compatibility feature to ACPI.
This emulates APM device node interface APIs (mainly ioctl) and
provides APM services for the applications.  The goal is to support
most of APM applications without any changes.
Implemented ioctls in this commit are:
 - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl)
 - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl)
 - APMIO_GETINFO and APMIO_GETINFO_OLD
 - APMIO_GETPWSTATUS

With above, many APM applications which get batteries, ac-line
info. and transition the system into suspend/standby mode (such as
wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-)

Reviewed by:	arch@, audit@ and some guys
2001-10-26 17:43:05 +00:00
..
aac Add locking to taskqueues. There is one mutex per task, one mutex per 2001-10-26 06:32:21 +00:00
acpica Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
advansys Restore I/O port resources to the condition before adv_isa_probe() is 2001-05-06 09:28:18 +00:00
agp Add probe line for the AMD 761 northbridge chip. At least it detects now, 2001-09-20 05:13:12 +00:00
aha Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
ahb Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
aic Merged from sys/dev/aic/aic_isa.c revision 1.8. 2001-06-26 11:35:46 +00:00
aic7xxx Restore initialization of ahc->unpause lost in rev 1.76. ahc->unpause 2001-08-17 04:22:50 +00:00
amd Move unused functions into #if 0 ... #endif. 2001-05-06 08:07:10 +00:00
amr Add locking to taskqueues. There is one mutex per task, one mutex per 2001-10-26 06:32:21 +00:00
an Add missing includes of sys/lock.h. 2001-10-11 17:52:20 +00:00
ar Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
asr KSE Milestone 2 2001-09-12 08:38:13 +00:00
ata Don't enable write cacheing on devices that don't support tagged queuing 2001-10-24 18:24:09 +00:00
atkbdc Hack for the "out-of-sync" error. 2001-10-13 10:28:02 +00:00
awi KSE Milestone 2 2001-09-12 08:38:13 +00:00
bge Do not call mii_polltick() immediately after mii_tick(). 2001-09-29 19:31:29 +00:00
bktr The kernel doesn't have <stdio.h> or <string.h>. Remove these. 2001-10-09 04:05:58 +00:00
buslogic The EXTENDED_GEOMETRY flag is really bit 7. This affects >2GB drives. 2001-08-26 21:51:35 +00:00
cardbus Part two of this NEWCARD update: 2001-08-27 00:09:42 +00:00
ccd KSE Milestone 2 2001-09-12 08:38:13 +00:00
cnw Use enumeration types for CARD_SET_RES_FLAGS. 2001-05-08 23:57:32 +00:00
cs Additional enhancments to allow IBM Etherjet cards to be probed, 2001-02-23 08:08:21 +00:00
ct Added Logitec LHA-301 pnp id. 2001-10-09 15:30:19 +00:00
cy KSE Milestone 2 2001-09-12 08:38:13 +00:00
dc Defs for three (unused so far) bits in PCI command/status register 2001-10-25 17:43:26 +00:00
de Remove some unused stuff 2001-03-25 07:21:04 +00:00
dec Fix a botch where we wrote the year register with > 2 digits (and 2001-03-09 20:39:02 +00:00
dgb KSE Milestone 2 2001-09-12 08:38:13 +00:00
digi Send a .4 second BREAK rather than a .25 second break so that 2001-09-23 20:03:40 +00:00
dpt Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
ed Make this compile again after the changes to make bridge kld'able 2001-10-07 00:18:48 +00:00
eisa Unbreak EISA. The PCI-EISA bridge bus is named eisab', not isab'. 2001-02-09 16:33:53 +00:00
en Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ep Commit part of the patch that I have for card eject problems with the 2001-06-05 22:29:16 +00:00
ex Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
fb Make this compile on ia64. 2001-10-06 09:27:43 +00:00
fdc KSE Milestone 2 2001-09-12 08:38:13 +00:00
fe Always turned on 8bit access card support for the fe driver 2001-09-02 13:05:00 +00:00
fxp Aargh. I really shouldn't do late night commits. Remove a floating point 2001-10-25 19:36:44 +00:00
gx Remove unused headers that were breaking LINT. 2001-10-22 16:35:15 +00:00
hea Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
hfa Applied the patch to fix HARP ATM that was broken when KAME IPv6 came 2001-06-20 17:09:14 +00:00
ic Moved the wd33c93 specific file to sys/dev/ic. 2001-06-14 11:05:48 +00:00
ichsmb Catch up to header include changes: 2001-03-28 09:17:56 +00:00
ida KSE Milestone 2 2001-09-12 08:38:13 +00:00
ie Repo copy i82586.h to dev/ic/i82586.h. 2001-07-02 05:29:58 +00:00
iicbus KSE Milestone 2 2001-09-12 08:38:13 +00:00
isp Tra-La, another QLogic f/w funny- this time with the 2300. 2001-10-23 23:05:20 +00:00
ispfw Update to latest 12160 f/w. 2001-10-20 21:47:58 +00:00
joy KSE Milestone 2 2001-09-12 08:38:13 +00:00
kbd Refine ACPI/PnP BIOS probe/attach routines a bit. 2001-09-15 04:38:20 +00:00
lge Do not call mii_polltick() immediately after mii_tick(). 2001-09-29 19:31:29 +00:00
lmc Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
lnc - Don't overwrite inb, inw and outw. 2001-07-04 13:00:21 +00:00
mc146818
mca - Remove an unused write_ivars function that didn't do anything anyway. 2001-01-19 09:29:34 +00:00
mcd KSE Milestone 2 2001-09-12 08:38:13 +00:00
md Change the kernel's ucred API as follows: 2001-10-11 23:38:17 +00:00
mii Fix declaration disagreement. 2001-10-11 22:02:14 +00:00
mlx KSE Milestone 2 2001-09-12 08:38:13 +00:00
mly Add locking to taskqueues. There is one mutex per task, one mutex per 2001-10-26 06:32:21 +00:00
mse KSE Milestone 2 2001-09-12 08:38:13 +00:00
musycc Fix warnings: 2001-06-15 00:19:43 +00:00
ncv We should not pass the size of the memory to bus_alloc_resource(). 2001-09-04 04:32:48 +00:00
nge Do not call mii_polltick() immediately after mii_tick(). 2001-09-29 19:31:29 +00:00
nmdm KSE Milestone 2 2001-09-12 08:38:13 +00:00
nsp We should not pass the size of the memory to bus_alloc_resource(). 2001-09-04 04:32:48 +00:00
null Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
ofw KSE Milestone 2 2001-09-12 08:38:13 +00:00
pccard Regen. 2001-10-05 05:32:51 +00:00
pccbb Surf the net again and find more device IDs: 2001-09-06 20:50:10 +00:00
pcf Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
pci Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this. 2001-10-25 04:44:50 +00:00
pcic Add PC-9821RA-E01. This appears that PC-9821 Ra20 has this either 2001-06-16 06:10:53 +00:00
pdq Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ppbus Give the pps driver an additional 8 inputs if we can persuade the 2001-09-22 16:34:59 +00:00
ppc Add ACPI attachments. 2001-08-30 09:17:03 +00:00
random o Modify open() and close() for /dev/random to use securelevel_gt() instead 2001-09-26 20:15:42 +00:00
ray Primary purpose of this commit is to enable support for the Aviator 2001-05-17 22:23:49 +00:00
rc KSE Milestone 2 2001-09-12 08:38:13 +00:00
rp KSE Milestone 2 2001-09-12 08:38:13 +00:00
scd KSE Milestone 2 2001-09-12 08:38:13 +00:00
sf Do not call mii_pollstat() from within device tick routines; the status 2001-09-29 19:28:31 +00:00
si KSE Milestone 2 2001-09-12 08:38:13 +00:00
sio cn_tab no longer exists, use cnadd() to add a console device. Note that 2001-10-24 18:30:05 +00:00
sk Do not call mii_pollstat() from within device tick routines; the status 2001-09-29 19:28:31 +00:00
smbus SMBus support for the AMD 756 power management unit. See smbus(4), 2001-09-16 22:35:07 +00:00
sn Kill debug output for sn device. It is confusing the natives 2001-08-04 05:27:52 +00:00
snc Convert if_multiaddrs from LIST to TAILQ so that it can be traversed 2001-02-06 10:12:15 +00:00
snp KSE Milestone 2 2001-09-12 08:38:13 +00:00
sound Change the module name from 'snd_sonicvibes' to 'snd_vibes' as that is 2001-10-24 21:44:07 +00:00
speaker KSE Milestone 2 2001-09-12 08:38:13 +00:00
sr Fix clock selection for X.21 interfaces. 2001-02-26 16:30:02 +00:00
stg We should not pass the size of the memory to bus_alloc_resource(). 2001-09-04 04:32:48 +00:00
streams KSE Milestone 2 2001-09-12 08:38:13 +00:00
sym s/adress/address/ 2001-07-23 12:05:27 +00:00
syscons cn_tab no longer exists, use cnadd() to add a console device. Note that 2001-10-24 18:30:05 +00:00
tdfx KSE Milestone 2 2001-09-12 08:38:13 +00:00
ti Have the driver advertise that it is capable of hardware checksums, and 2001-09-18 18:40:22 +00:00
twe KSE Milestone 2 2001-09-12 08:38:13 +00:00
tx Update tx(4) to always enable vlan(4) support. 2001-09-05 23:04:53 +00:00
txp Have the driver announce what capabilities it supports. These are 2001-09-18 18:41:39 +00:00
usb Regen. 2001-10-23 22:44:36 +00:00
vinum attachobject: Return correct status after successfully attaching a 2001-10-13 07:22:12 +00:00
vr Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
vx Quiet a variable format-string warning. 2001-07-19 02:16:24 +00:00
wds Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
wi KSE Milestone 2 2001-09-12 08:38:13 +00:00
wl KSE Milestone 2 2001-09-12 08:38:13 +00:00
xe Add some seat belts. If we set the error rc, then return it and don't 2001-08-29 05:11:44 +00:00