summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2008-06-12The mmap offsets for memory buffers currently are the kernel virtualOwain Ainsworth
address. This is just plain wrong. scatter/gather on amd64 didn't work here, since char device mmap doesn't take negative offsets so higher kvas fail. Instead, prematurely import drm_memrange which is needed for the memory managers (GEM or TTM), and is used to manage GART space. Then, horribly abuse it to allocate mmap offsets, fixes up the issues. "just commit it" art@.
2008-06-12Skip 64-bit BARs correctly when initing.Owain Ainsworth
ok marco@.
2008-06-12Bump max BARs up to 6. Needed for nouveau.Owain Ainsworth
ok marco@.
2008-06-11Add a bunch of new ciss devices from Scott Benesh at HP via FreeBSD.Jonathan Gray
ok dlg@
2008-06-11regenJonathan Gray
2008-06-11Add a bunch of new ciss devices from Scott Benesh at HP via FreeBSD.Jonathan Gray
ok dlg@
2008-06-11regenJonathan Gray
2008-06-11Some additional devices from submitted dmesgs.Jonathan Gray
2008-06-11Move a debug printf into #ifdef DEBUG. ok todd@, millert@.Matthieu Herrb
2008-06-11Update to DRM git as of a few days ago. This mostly affects theOwain Ainsworth
card-specific files with a few minor changes elsewhere. The main change to the OpenBSD specific stuff is the change to the irq api due to the vblank rework. 4 more large bugs known, I have a fix for one. Tested by many. prompted by deraadt@.
2008-06-11Remove the IDE_PCI_CLASS_OVERRIDE quirk flag for Intel (except AHCI),Brad Smith
CMD Technology, Silicon Image, VIA, SiS, Broadcom, and ATI IDE/SATA chipsets. ok jsg@
2008-06-11regenMark Kettenis
2008-06-11Add Altera vendor id, and EBus device id. This is questionable since theMark Kettenis
device id is probably a softcore on an FPGA, but this is how it shows up on a Tadpole SPARCLE.
2008-06-10g/c unused defines.Brad Smith
2008-06-10Rename access macros so that they match the driver name.Joel Sing
ok dlg@
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
ok deraadt@
2008-06-08more cleanup, removed unused code. we don't do LRO/RSS yet, code canReyk Floeter
be added later if we ever support it.
2008-06-08dma sync the tx ring and post new packets to the chip once per call toReyk Floeter
the start routine instead of once per packet. From ixgb(4), also works with ix(4)
2008-06-08we don't support msi/msi-x, remove the codeReyk Floeter
2008-06-08replace strange Linux-style u8/u16/u32/u64/s32 integer types with theReyk Floeter
standard C99 uint*_t/int*_t types (i don't get why these drivers always use their own types when there is a well-defined standard).
2008-06-08Import ix, a driver for the Intel 82598 PCI-Express 10 Gig Ethernet Adapter,Reyk Floeter
based on Intel's ixgbe driver. Done on borrowed hardware since Intel was too poor to give us a card. ok deraadt@
2008-06-08syncReyk Floeter
2008-06-08add more 82598 10GbE device IDs, add "10GbE" in the existing entries.Reyk Floeter
2008-06-08Correct the watchdog timer by moving it out from under the condition checkBrad Smith
for the IFF_OACTIVE flag. ok reyk@
2008-06-08dma sync the tx ring and post new packets to the chip once per call toBrad Smith
the start routine instead of once per packet. ok reyk@
2008-06-08don't declare foo_driver_version[] strings and turn them into defines,Reyk Floeter
nothing uses them and it saves a few bytes in the kernel. ok claudio@
2008-06-08Unmapping memory from pci_mapreg_map() on detach lets usJonathan Gray
do multiple inserts/detaches as well. ok jsing@
2008-06-08Make et(4) detachable, help tracking down a problem thatJonathan Gray
turned out to be not calling pci_intr_disestablish() from jsing@ ok jsing@
2008-06-07Add baudrate handling for fiber boards using the TBI interface.Brad Smith
ok deraadt@
2008-06-07Add link state/baudrate handling.Brad Smith
ok deraadt@
2008-06-07regenRobert Nagy
2008-06-07add nVidia GeForce 8400M GRobert Nagy
2008-06-04Oops! Add the #endif that vanished here.Owain Ainsworth
Pointed out by landry@.
2008-06-03Make *drm(4) use D_CLONE so that the per-open data actually works. SinceOwain Ainsworth
i'm modifying this code anyway, prepare for privsep by making it so that "master" openers must be root, and remove some spurious suser() checks. For example, every DRM_ROOT_ONLY ioctl is also DRM_MASTER. Without this change, privsep wouldn't work since the fd is no longer root owned. With this, X privsep should work as soon as the userland bits are done (currently unwritten). Looked over by kettenis@, ok thib@.
2008-06-03Simplify the use of pci_mapreg_map().Brad Smith
ok oga@
2008-06-03put code to print periodic debug statistics in #ifdef EM_DEBUG, shrinksBrad Smith
the driver for about 292 bytes on i386. ok reyk@
2008-06-03put code to print periodic debug statistics in #ifdef IXGB_DEBUG, shrinksReyk Floeter
the driver for about 990 bytes on i386. ok brad@
2008-06-03deal with a 64-bit BAR such as with PCIe chipsets.Brad Smith
ok dlg@
2008-06-03regenBrad Smith
2008-06-03Add the PCI ids for the JMicron JMC250 and JMC260 Ethernet controllers.Brad Smith
2008-06-03regenBrad Smith
2008-06-03- shorten the Emulex Light Pulse entries to use the names as mentionedBrad Smith
on their web site/marketing material. We don't need to have the full name Light Pulse for each entry. ok deraadt@ - remove the duplicate Intel Turbo Memory entry.
2008-06-02regenBrad Smith
2008-06-02- Sort the QLogic entries by PCI id.Brad Smith
- Remove a duplicate QLogic ISP6312 entry. - Add QLogic ISP25xx, ISP54xx, and ISP8432 FC id's. - Add QLogic ISP4032 iSCSI id's. - Add all the other Emulex Light Pulse FC PCI id's.
2008-06-01regenMark Kettenis
2008-06-01Add Emulex LP9000.Mark Kettenis
2008-06-01Make SCSI isp(4) use the same SCSI initiator ID as the prom on sparc/sparc64.Mark Kettenis
ok marco@, krw@, deraadt@
2008-05-31if a dma mapping contains oddly addressed or odd length segments, then weDavid Gwynne
reject that mapping. this diff cleans up the mapping if it fails those diagnostics. found while looking into an issue for krw@
2008-05-31Apparently the interrupt status register doesn't always replicate the TXMark Kettenis
completion register correctly, so read the completion register instead.
2008-05-31Turn the rx descriptor ring into a real ring instead of letting things fallMark Kettenis
off the end.