christos
e58a356cba
make pci_intr_string and eisa_intr_string take a buffer and a length
...
instead of relying in local static storage.
2014-03-29 19:28:24 +00:00
msaitoh
a9a7d73cae
Rename 88SE91XX.
2014-01-21 09:26:47 +00:00
msaitoh
5010e7e4fc
Sync with pcidev's change. Rename PCI_PRODUCT_MARVELL2_88SE9128 to
...
PCI_PRODUCT_MARVELL2_88SE912Z. No functional change.
2014-01-10 01:43:52 +00:00
christos
07a9cab707
revert unintended changes
2014-01-09 22:37:18 +00:00
htodd
886ddaff87
Fix build. Only compile tested.
2014-01-09 21:14:53 +00:00
matt
d37307fce6
Add FORCE quirks for ASMEDIA ASM1061
2012-10-21 23:09:53 +00:00
bouyer
5a3c59bf01
Fix typo, pointed out by Markus W Kilbinger
2012-08-20 12:48:47 +00:00
bouyer
bd09f43a07
Remove leftover comment.
2012-08-10 16:40:40 +00:00
bouyer
8539c8f3cb
Work around some SATA PMP issues in some AHCI controllers by either
...
disabling PMP entirely, or special handling in the reset function.
Controller list from linux and FreeBSD.
2012-08-10 16:35:00 +00:00
drochner
d8e1a7b61a
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
...
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
2012-01-30 19:41:18 +00:00
jakllsch
ae79d560ec
Marvell 88SE9128 needs AHCI_PCI_QUIRK_FORCE.
2011-08-06 14:56:33 +00:00
matt
12a7a4f889
Add quirk for ALI M5228
2011-05-27 15:11:59 +00:00
dyoung
1ef7297c4c
Deregister in ahci_pci_detach() the PMF hooks registered in
...
ahci_pci_attach().
2011-04-03 20:05:30 +00:00
uebayasi
8184d5dc03
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
...
some other constants. These are provided by sys/param.h now.
2010-11-13 13:51:57 +00:00
jmcneill
3c58337823
Add NVIDIA MCP77 to the quirk table, so ahcisata will attach when the
...
BIOS is set to 'RAID' mode.
2010-08-07 02:39:01 +00:00
jakllsch
95ea24f1a1
Use use 64-bit DMA tag (where available and supported) for ahcisata.
...
Avoid the possible ATI SB600 64-bit DMA problem.
2010-07-27 22:27:52 +00:00
jakllsch
5630ecd473
Support detachment of ahcisata(4).
...
Use use 64-bit DMA tag (where available) for ahcisata(4) at jmide(4).
Beginnings of detach/resume support for jmide(4).
Sprinkle static. Misc. little changes.
2010-07-27 22:07:50 +00:00
dyoung
c1b390d493
A pointer typedef entails trading too much flexibility to declare const
...
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
2010-02-24 22:37:54 +00:00
dyoung
cd6e1fbf91
Expand PMF_FN_* macros.
2010-01-08 19:53:10 +00:00
bouyer
6d07b400dc
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
...
for the booring work !
2009-10-19 18:41:07 +00:00
pgoyette
96961f175f
Use __arraycount() for readability
2009-08-19 16:31:28 +00:00
cegger
535480ccf0
Attach Marvel 88SE6121 SATA II controller on ahci.
...
W/o this, it attaches on pciide.
2009-06-11 11:02:11 +00:00
dholland
c963cec011
Add the other three PCI ids for the nvidia MCP65 SATA controller to
...
the quirk table. This way they attach as ahcisata and work, instead of
attaching as viaide and failing miserably.
Fixes PR kern/37826.
XXX: There are a bunch of additional MCP67 and MCP73 PCI ids that
XXX: should probably be added also, but I don't want to do that without
XXX: further investigation and testing.
2009-03-27 06:36:49 +00:00
tron
e123b7f433
Force the nVidia nForce 630i MCP73 to attach to ahcisata(4) as well.
...
It would otherwise attach to pciide(4) and use PIO mode.
Patch submitted by Bernhard Moellemann in PR kern/40134.
2008-12-08 15:35:23 +00:00
dillo
f6bd05d87b
Force ahcisata to attach to NVIDIA MCP65 and MCP67, as they don't
...
work with viaide.
Reviewed by bouyer.
2008-08-01 17:17:35 +00:00
cube
ee39397d84
Fix previous. *Sigh*
2008-03-20 16:15:57 +00:00
cube
4137b5c813
Don't forget to se the device_t back pointer in the softc.
2008-03-20 16:00:16 +00:00
cube
7aa6248cdf
Split device_t and softc for ATA devices, as well as wd(4). Other
...
cosmetic changes where appropriate.
2008-03-18 20:46:35 +00:00
dyoung
f580a3a869
Use PMF_FN_ARGS, PMF_FN_PROTO.
2008-02-29 06:13:39 +00:00
mlelstv
69b2d26ed9
make this less verbose
2008-02-23 16:25:35 +00:00
mlelstv
6b959e1dfc
Always attach AHCI_SATA devices, even when not configured for AHCI mode.
...
Fixes PR kern/38081.
2008-02-23 14:53:31 +00:00
jnemeth
49c4d911fc
KNF
2008-02-19 10:38:28 +00:00
jnemeth
3dd5990c06
PR/38056 - Simon Burge -- In ahci_pci_match, return the correct
...
value so that we only match SATA RAID controllers in AHCI mode.
Tested by: simonb@
Approved by: bouyer@
2008-02-19 10:37:56 +00:00
xtraeme
7794776b36
Attach ahcisata(4) to any RAID controller that supports AHCI, and make it
...
pass the ATAC_CAP_RAID capability for them. ok'ed by bouyer@.
2008-02-11 08:23:48 +00:00
jmcneill
4c1d81b2b5
Merge jmcneill-pm branch.
2007-12-09 20:27:42 +00:00
bouyer
920d7a6afe
Split the ahcisata driver in pci front-end and bus-independant back-end.
2007-05-12 11:04:58 +00:00