Takeshi Shibagaki
c8dab10220
Update the fe driver to probe and attach under a NEWCARD kernel.
...
Reviewed by: imp
Obtained from: NetBSD
2001-09-02 06:27:07 +00:00
Nick Hibma
c2d7a52a1b
Small nit: Make both prints use 'at device %d.%d'.
2001-09-01 23:06:14 +00:00
Mike Smith
dde24897d2
Add a MODULE_VERSION declaration. This should prevent duplicate loading
...
of the module, and allows other modules to depend on and link against
the ACPI module.
Add a sysctl that allows us to retrieve the ACPI CA version number as
well.
2001-09-01 22:41:53 +00:00
Nick Hibma
d7e53003ef
First check whether the USB transfer was cancelled before starting to
...
use the data structures related to that keyboard.
2001-09-01 09:38:45 +00:00
Nick Hibma
2ce5d19515
Regen.
2001-09-01 09:35:46 +00:00
Nick Hibma
c2d98eeaca
Spelling nit.
2001-09-01 09:33:15 +00:00
Søren Schmidt
1f3d9edf37
Make "atapi less" kernels link again.
...
Question is if we should allow the ioctl only interface to be
created if atapi devices are present, but no driver linked in....
2001-09-01 08:47:11 +00:00
Mike Smith
2a4684aa19
Don't claim memory resources owned by a PNP0C01 device ("system memory")
...
as some systems claim the entire physical address space is owned by it.
2001-08-31 22:59:04 +00:00
Murray Stokely
b64e68c520
Add ID for the Best Data Smart One 56SPS Voice modem.
...
PR: kern/24851
Submitted by: Daniel Rudy <dcrudy@aol.com>
2001-08-31 21:51:00 +00:00
Murray Stokely
ba5b94fef7
Correct the ID for the ALS0120 PnP Joystick. It is different from the
...
ALS0110.
PR: kern/22617
Submitted by: Mike Holling <myke@fks.bt>
2001-08-31 21:40:56 +00:00
Matt Jacob
126ec86486
Add 2 Gigabit Fibre Channel support (2300 && 2312 cards). This required
...
some reworking (and consequent cleanup) of the interrupt service code.
Also begin to start a cleanup of target mode support that will (eventually)
not require more inforamtion routed with the ATIO to come back with the
CTIO other than tag.
MFC after: 4 weeks
2001-08-31 21:39:04 +00:00
Matt Jacob
a2f1799115
Add 2300/2312 (2Gbit) firmware.
2001-08-31 21:25:15 +00:00
Murray Stokely
6e66dd6b62
Add OMRON ME5614ISA PnP modem.
...
PR: kern/22801
Submitted by: Ryuzo Okada <R.Okada@mm.neweb.ne.jp>
2001-08-31 20:37:02 +00:00
Murray Stokely
4fd606bfba
Add PCI device IDs for Kuotech dual port serial cards.
...
Also give example of the flags needed to use these cards.
PR: kern/21242
Submitted by: Shigeki Moride <moride@portside.net>
2001-08-31 20:16:00 +00:00
Mike Smith
05c03ed9b8
Don't activate placeholder resources; it can be very expensive in the
...
SYS_RES_MEMORY case, and it shouldn't be necessary.
2001-08-31 18:08:50 +00:00
Takanori Watanabe
ff741bef86
Call OS-independent resume routine to execute _WAK .. etc.
...
This should also recover GPE bit,comment says, though not implemented yet.
2001-08-31 05:36:48 +00:00
Mike Smith
91bca55f68
Revert previous "fix"; bus mice still have to be manually probed even in
...
the presence of PnP data.
Submitted by: yokota
2001-08-31 02:14:34 +00:00
Nick Hibma
f3dfa83f4f
Add safety belts. A control endpoint doesn't have an endpoint descriptor.
2001-08-30 21:45:28 +00:00
Doug Rabson
7e59bf6765
Recognise VIA Apollo KT133A bridge.
...
PR: 30061
Submitted by: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
MFC after: 1 week
2001-08-30 14:17:48 +00:00
Scott Long
6965a4937d
Doh! Fix a comma that disappeared along the way.
...
Pointy-hat by: peter
2001-08-30 13:09:09 +00:00
Søren Schmidt
baffdee40e
Add support for sending ATAPI commands via ioctl.
2001-08-30 09:47:17 +00:00
Mike Smith
5f063c7b09
Add ACPI attachments.
2001-08-30 09:17:03 +00:00
Mike Smith
7b4d3c8814
Correct usage of ISA_PNP_PROBE
2001-08-30 09:16:53 +00:00
Mike Smith
bc0f21954b
Add support for attaching PnP-aware ISA drivers to ACPI.
...
Always parse ACPI device resource settings (current resources only)
and attach the resources to the device before probe/attaching.
2001-08-30 00:50:58 +00:00
Mike Smith
832183ba00
Retarget the resource parser slightly. We only fetch current resources
...
for the device now (we should really just be parsing a passed-in resource
buffer).
Wrap long lines so this is (more) readable.
Support Address16 and Address32 resources, in the CONSUMER case.
Support DRQs so that we can handle ISA devices.
Support ExtendedIrqs (we ignore most of their attributes)
Add a placeholder device for system memory and system resources. This
takes the place of the nexus placeholder, which only attaches to ISA.
2001-08-30 00:49:34 +00:00
Mike Smith
d5519f129a
Note that now that some ISA devices will attach to ACPI, we need to
...
keep the ivar indexes that ISA uses free.
2001-08-30 00:45:42 +00:00
Mike Smith
2668fa394a
Don't parse our resources ourself, the ACPI core code must do it.
2001-08-30 00:45:12 +00:00
Mike Smith
93b9ee69f5
Nuke the (fairly bogus) attachment of *all* ACPI devices to ISA.
2001-08-30 00:44:29 +00:00
Mike Smith
f48bf2d715
Add missing acpi_disabled() call so that this driver can be disabled.
2001-08-30 00:44:01 +00:00
Scott Long
36e0bf6e9c
Mega update to the aac driver.
...
1. Correctly handle commands initiated by the adapter. These commands
are defered to a kthread responsible for their processing, then are
properly returned to the controller.
2. Add/remove disk devices when notified by the card that a container was
created/deleted/offline.
3. Implement crashdump functionality.
4. Support all ioctls needed for the management CLI to work. The linux
version of this app can be found at the Dell or HP website. A native
version will be forthcoming.
MFC-after: 4.4-RELEASE
2001-08-29 23:34:05 +00:00
Warner Losh
9a25341262
First, The Ricoh 5C47x chips don't have the disable the 3e0 bits.
...
Second, the TI 1130 need to have the PCI_INTR set, not cleared.
This gets Soren's machine working with NEWCARD again.
# The whole initialization is a mess and needs to be organized ala OLDCARD.
2001-08-29 20:33:08 +00:00
Cameron Grant
edecdda7b9
tweaks to reduce latency/pauses in output
2001-08-29 09:17:43 +00:00
George C A Reid
0a1e38d38a
Add support for the Acer Labs M5451 chip.
...
Submitted by: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
2001-08-29 09:04:22 +00:00
Warner Losh
0f78b1c02b
Add some seat belts. If we set the error rc, then return it and don't
...
pretend things succeeded. This can happen if the address returned
form bus_alloc_resource for the cis memory is occupied by some of
thing.
2001-08-29 05:11:44 +00:00
Cameron Grant
a32858897e
add some extra diagnostic info to sndstat output.
2001-08-29 02:49:54 +00:00
Cameron Grant
9924faf6e7
* change buffering method a bit
...
* swap record/mic channels
* initialise all channels
* align dma buffers to 8 bytes
Submitted by: Katsurajima Naoto <raven@katsurajima.seya.yokohama.jp>
(mostly)
2001-08-29 02:31:03 +00:00
Søren Schmidt
a8ae536239
Update the Promise TX2 code to DTRT and not what I guessed earlier.
...
Allow tagged queing on the Promise TX2 as it seems to work.
Cudos to promise for making the most simple to program ATA chip.
2001-08-28 13:36:06 +00:00
Søren Schmidt
b4fa8260b8
Add support for yet another VIA '686 combination.
2001-08-28 08:59:17 +00:00
Warner Losh
47e83d86d1
Make this compile when there is no pci bus in your kernel.
...
Note: This should be multiple files, but since it is also broken in
stable, I thought I'd do a fix that could be MFC'd.
This is a MFC candidate.
2001-08-28 05:26:43 +00:00
Warner Losh
3577f582a0
Ugggg. I thought I'd already committed this to -current:
...
If the intline is 0 or 255, then it needs an interrupt routed. Some
Sony laptops improperly flag devices that need an interrupt with 0 :-(.
2001-08-27 20:42:07 +00:00
Maxim Sobolev
166cd0b42f
OOPS, remove local change that somehow slipped into a commit (I swear that
...
I already deleted it some time ago). This should fix problem people have with
unsefined reference to `MD_PRELOAD_COMPRESSED'.
Submitted by: Manfred Antar <null@pozo.com>
2001-08-27 17:48:37 +00:00
Jonathan Lemon
00c4116b3e
Systems based on the ICH2/ICH2-M chip from Intel have a defect where
...
the chip can cause a PCI protocol violation in under certain scenarios.
The workaround is to rewrite the EEPROM to disable Dynamic Standby Mode.
Once the EEPROM is rewritten, the system needs to be rebooted in order
to pick up the new settings.
This has been tested on several ICH2/ICH2-M systems, found in 815E based
boards, and usually identified by the presence of the 82562 ET/EM PHY.
Thanks to: Mike Tansca, Paul Saab for samples of the problematic boards.
2001-08-27 16:07:12 +00:00
Maxim Sobolev
9d4b594558
- On module unload try to detach all configured disks and let unload proceed
...
if all disks were detached sucessfully;
- use consistent style for return statements and fix several others style
inconsistencies.
Reviewed by: ru
Approved by: phk
2001-08-27 13:25:47 +00:00
Jonathan Chen
71e7902026
Make pccard_product_lookup non-static again...
...
When something is exported, do not mark it as static for no apparent reason...
Broken by: me
2001-08-27 11:28:00 +00:00
Jonathan Chen
472ce770c4
Fix the hack that allocates memory when the bios haven't already done so.
...
We can't rely on rman to give us a useable memory window if we tell it to
do auto-allocation. This should probably be fixed on the pci bus/rman side.
2001-08-27 11:23:05 +00:00
Warner Losh
db3e31829d
Note difficulties we had in OLDCARD using NEWCARD's methods of debouncing card event interrupts.
2001-08-27 01:30:46 +00:00
Warner Losh
533dc59976
More notes to the reader about issues in pccard code here.
2001-08-27 01:24:33 +00:00
Warner Losh
fe63bdcc6a
Merge notes, but not code, from my latest tree on pccard_function_init and pccard_function_free
2001-08-27 01:18:21 +00:00
Cameron Grant
4f4449e01c
now we have the rate feeder, we don't need to constrain the default channel
...
speed. however, continue to do so for record channels until the feederchain
builder is fixed.
2001-08-27 01:02:13 +00:00
Cameron Grant
52eb6afd0c
MFS rev 1.8.2.8:
...
release resources on detach
Submitted by: "Christopher N . Harrell" <cnh@netvmg.com>
2001-08-27 00:54:26 +00:00