mlelstv
23ab96a36b
Allow for 'options ACPI_DEBUG' by providing module declarations
...
and using memory allocation macros instead of calling AcpiOs* stubs
directly.
2009-09-16 10:47:54 +00:00
jmcneill
c315121ad0
Cut the amount of spam from acpi devices in roughly half by printing
...
resources on the same line as autoconf messages. Things like:
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
become:
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
2009-02-17 12:46:01 +00:00
yamt
d28c692afa
fix compilation
2008-03-16 13:58:22 +00:00
cube
bb192d4cfd
Split device_t and softc for the ... wait for it ... [air quotes] MI
...
variant of fdc(4)/fd(4). Other cosmetic changes as appropriate.
2008-03-16 00:58:56 +00:00
dyoung
36f58dc899
Use aprint_*_dev(), device_t and accessors. Constify a bit.
2008-02-18 06:19:50 +00:00
ad
a2a3828545
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
2007-10-19 11:59:34 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
kochi
6f20259365
use aprint_*
2006-02-20 12:17:49 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
drochner
fbdec13c62
reduce the last commit to its essence; the rest was
...
not so helpful
2005-07-11 18:31:12 +00:00
christos
79de18714f
PR/30720: Nicolas Joly: compilation failure with ACPI_FDC_DEBUG
2005-07-11 14:40:00 +00:00
christos
85d43e7f3d
Sprinkle const freely and delete unnecessary casts.
2005-05-29 20:56:02 +00:00
yamt
05f25dcc2a
move buffer queue related stuffs from buf.h to their own header, bufq.h.
2004-10-28 07:07:35 +00:00
kochi
beb4a7fe16
specify static where appropriate.
2004-05-01 12:03:27 +00:00
kochi
193c08b383
Clean up memory allocated during autoconfiguration
2004-04-11 10:36:35 +00:00
kochi
b547a6d28f
change acpi_resource_parse API to support _PRS parsing as well as _CRS
2004-04-11 08:36:19 +00:00
kochi
db7198d645
whitespace nit
2004-04-10 11:48:10 +00:00
mycroft
c992c0b1e9
Match all PNP07?? IDs.
2003-11-03 19:03:40 +00:00
mycroft
4ac0e3e5c6
More cleanup:
...
* Use ACPI_FAILURE() and ACPI_SUCCESS().
* Output exception strings in a few more places.
2003-11-03 18:07:10 +00:00
mycroft
01558f7ee2
Clean up some messages:
...
* Use AcpiFormatException() in a bunch of places.
* acpi_resource_parse() already prints an error, so don't do it in the callers.
2003-11-03 17:24:22 +00:00
kochi
84795bd3fd
* now the size of ACPI_DEVICE_INFO is variable:
...
it can now accomodate multiple _CIDs
sizeof(ACPI_DEVICE_INFO) should not be used
* make ad_devinfo member in acpi_devnode a pointer
* implement acpi_match_hid() to simplify matching devices;
_CIDs are also taken into account now as well as _HID
2003-11-03 06:03:47 +00:00
mycroft
fec4c11f9e
Catch up with ABI changes in ACPI-CA. Some additional changes to acpi_bat to
...
set the VALID bits correctly, so we don't report garbage for missing batteries.
2003-10-31 20:54:18 +00:00
christos
7da4d27c12
imake this compile again.
2003-09-25 21:55:49 +00:00
mycroft
864b96269c
Modify the fdcattach() interface again, splitting it into two parts, so that
...
DRQ allocation is done earlier.
2003-09-25 19:06:19 +00:00
mycroft
3d7395ab71
Update for new attach method.
2003-09-25 01:12:43 +00:00
kochi
e7df232658
'struct acpi_resources' will have references to malloc'ed memory.
...
So it's better to not to allocate on stack.
2003-08-15 17:22:23 +00:00
drochner
1a03e79900
don't #include <sys/dkstat.h> where it is (appearently) unused
2003-06-18 08:58:34 +00:00
christos
a2f80a1464
size_t != unsigned int all the time.
2003-05-21 17:23:55 +00:00
jmcneill
d81b190541
Why do I always think 'evaluate' and type 'evalulate'?
2003-01-13 06:26:10 +00:00
jdolecek
98449270da
need to select proper IST for interrupt - IST_NONE is almost certainly not
...
right
this makes fdc@acpi and com@acpi actually work on my machine; lpt@acpi
change untested, but should be same as fdc and com
2003-01-09 12:23:28 +00:00
jdolecek
dca94cc235
_FDE is optional, so don't print warning messages about it failing
...
unless ACPI_FDC_DEBUG
array returned from _FDE contains UINT32 values, not UINT8; also change
the magic number '14' to '5 * sizeof(UINT32)' for clarity
remove XXX for the tape presence comment; it's Just Okay to not use the info
fdc_acpi_getknownfds(): if fdc_acpi_nvtotype() returns NULL, don't
attempt to attach the drive at all
XXX not tested
2003-01-09 12:18:38 +00:00
jmcneill
41e9687a33
A few fallbacks:
...
1. If _FDE fails, fall-back to the old-style of drive probing.
2. If _FDI fails on a drive, assume a 1.44MB 3.5" floppy drive.
2003-01-09 01:25:13 +00:00
jmcneill
de1dbc74c4
Enumerate floppy disk drives via ACPI (mmm, faster booting). Known to work
...
with one floppy drive; not quite sure if the logic handling _FDI is right.
2003-01-09 00:22:39 +00:00
jmcneill
fdcb4005e7
Correctly pass the proper DRQ down to the common fdc driver.
2002-12-28 19:53:50 +00:00
jmcneill
18e5fbcc75
Add an fdc at acpi(4) attachment
2002-12-28 19:31:35 +00:00