summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2007-03-04Include port number in debug messages, where appropriate.Christopher Pascoe
Clean up some whitespace problems.
2007-03-04Now actually activate ports and try to detect devices.Christopher Pascoe
2007-03-04Save BIOS configured parameters over reset. Always enable staggered spin-up.Christopher Pascoe
Don't clean interrupt status now - have to flush individual ports' status first.
2007-03-04Add support for enabling/disabling port activity, and soft/port resets.Christopher Pascoe
2007-03-04Add support for issuing a (polled) command.Christopher Pascoe
2007-03-04Add function to set up Physical Region Descriptor Tables, mostly from dlg@Christopher Pascoe
2007-03-04Oops, remove duplicate prototypes that I mismerged.Christopher Pascoe
2007-03-04Third argument to pci_mapreg_map is the "map type", not "memory type".Christopher Pascoe
2007-03-04Perform separate memory allocations for the RFIS, command list and commandChristopher Pascoe
tables. Avoids alignment issues and simplifies the calculation of the ranges to sync before DMA.
2007-03-04When freeing port memory, use actual pointer to port rather than random memory.Christopher Pascoe
2007-03-04Add functions to wait for bit changes in port registers.Christopher Pascoe
2007-03-04HBAs by JMICRON have an additional "Controller Control Register" thatChristopher Pascoe
must be programmed to switch the ports into AHCI mode. Do so.
2007-03-04Fix strict alignment panic. Makes my BCM4306 attach on sparc64.Marcus Glocker
2007-03-04comment members of ahci_cmd_tableDavid Gwynne
2007-03-04pull the prdt into the ahci_cmd_table struct, which gets rid of ahci_cmd.David Gwynne
from pascoe@
2007-03-04rename struct ahci_cmd_list to ahci_cmd_hdr to better match the spec andDavid Gwynne
make it easier to read the code. fix the ordering of the flags and prdtl fields. from pascoe@
2007-03-04reverse the order of the fields in the %b fmt strings so that they readDavid Gwynne
the bitfield from left to right like us humans do. from pascoe@
2007-03-04Kill a cardbus dependency which breaked kernel compilation e.g. forMarcus Glocker
sparc*. OK deraadt
2007-03-03instead of establishing the interrupt in the mounthook, move it backReyk Floeter
to the attach function and set a flag in the mounthook to start accepting interrupts (there are possible problems with establishing interrupts after the ioapics are enabled in i386 GENERIC.MP). also suggested by kettenis tested by mcbride, me, and some others ok dlg@
2007-03-03Replacing some spaces with tabs and some typo fixesTodd T. Fries
from brad@
2007-03-02oops, this is $OpenBSD$Reyk Floeter
2007-03-02- remove the code to bring down the PHY in bnx_stop(), it's wrongReyk Floeter
(ifm_data isn't updated) and lead to a panic in mii_phy_setmedia(), or reading past the end mii_media_table[]. - make sure the dma_map matches the mbuf in the rx structures. We would sync/unload the wrong map, leading to a DIAGNOSTIC panic, or eventually leaking memory when bounce buffers are needed. From NetBSD ok marco@, brad@
2007-03-02MCP65 has no hardware checksum support.Jonathan Gray
Diff from brad after he noticed recent changes in the Linux driver by an NVIDIA employee.
2007-02-28of ofTheo de Raadt
2007-02-28Set ISP_CFG_NOVRAM for Sun-branded ISP2200's that don't have an NVRAM fitted.Mark Kettenis
Avoids the "invalid NVRAM" message on the Blade 1000 and other machines with onboard isp(4). ok deraadt@
2007-02-27Enable HW Tx checksum offloading and VLAN tag insertion. From brad@.Mark Kettenis
2007-02-27Don't strip off VLAN tags. From brad@.Mark Kettenis
2007-02-27Fix some comments.Mark Kettenis
2007-02-27Cut away some dead wood.Mark Kettenis
2007-02-26An ethernet driver works much better if you program the Tx descriptor ringMark Kettenis
size in the right bits of the appropriate register.
2007-02-26Fix Rx FIFO constants. From brad@Mark Kettenis
2007-02-26Some KNF.Marcus Glocker
2007-02-26Remove PCI powerhooks, bcw_pci_enable() and bcw_pci_disable().Marcus Glocker
2007-02-26We need to save some PCI infos in our softc struct for further decisionsMarcus Glocker
in the driver code.
2007-02-26This fixes the function names printed in the panic strings so thatTodd T. Fries
the correct function names are being used, this is msk(4), not sk(4). from brad@
2007-02-25Make receiving packets work. Driver works well enough to do the commit over.Mark Kettenis
2007-02-24Get correct chip revision and also get chip package.Marcus Glocker
2007-02-24Glue for cas(4).Mark Kettenis
2007-02-24Start of a driver for Sun Cassini gigabit ethernet interfaces. Driver canMark Kettenis
send packets but not receive any yet.
2007-02-23hide all the things userland should not see, so that this file can beTheo de Raadt
pulled into get at pcireg_t. otherwise it would hit nasty _KERNEL stuff; discussed with miod and dlg
2007-02-21syncTheo de Raadt
2007-02-21put structs after copyright notice; ok dlgTheo de Raadt
2007-02-21regen for inclusion of the structs used in pcidevs_data.hDavid Gwynne
2007-02-21put the structs defining the content of pcidevs_data.h into that headerDavid Gwynne
file, rather than in pci_subr.c before theyre used. this allows the header to be used elsewhere without needing to copy a chunk out of pci_subr.c. ok miod@ deraadt@
2007-02-20rename ccb_id to ccb_slot so its more clear what its used for. stash aDavid Gwynne
pointer to the port and the ata_xfer in there too.
2007-02-20oops, missed one in the cmd list entryDavid Gwynne
2007-02-20fill some macros for ahci structures. fix a spello while there.David Gwynne
2007-02-20No use checking malloc return when called with M_WAITOK.Thordur I. Bjornsson
ok dlg@, tested by jolan@
2007-02-19stick atascsi onto ahci, which in turn attaches a scsibus. while thisDavid Gwynne
compiles, it definitely doesnt work.
2007-02-19ahci will depend on atascsi and scsiDavid Gwynne