summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2008-06-19the 82598AT variant of ix(4) is 10GbaseT, change media type from AUTO.Reyk Floeter
2008-06-19Don't play with the vblank refcount if we didn't increase it first.Owain Ainsworth
2008-06-19Check the right refcount so that the vblank irq has a hope of beingOwain Ainsworth
disabled when wished.
2008-06-16replace min() and max() function calls by MIN() and MAX().Damien Bergamini
MIN() and MAX() are macros that can evaluate their arguments twice but it is safe in this context. following a post from miod@ about the harmfulness of min() and max() in the kernel.
2008-06-15Don't see rx_abs_int_delay if rx_int_delay is not set. SettingTodd C. Miller
rx_abs_int_delay to be non-zero when rx_int_delay is zero appears to trigger a bug elsewhere in the kernel for certain em revisions. Based on a diff from beck@. OK beck@ marco@ henning@ brad@
2008-06-14Allow ath(4) to detach cleanly when attaching via PCI. AlsoJoel Sing
complete/cleanup the attachment cleanup code. ok reyk@ jsg@
2008-06-13fix compilation with BNX_DEBUG.Brad Smith
2008-06-13Restore IDE_PCI_CLASS_OVERRIDE on SiI3512 SATA.Mats O Jansson
On socppc it has the subclass PCI_SUBCLASS_MASS_STORAGE_MISC so without the quirk socppc will not find its disk. -moj
2008-06-13properly indent something horridly misleadingTheo de Raadt
2008-06-13Initialize the return value in pci_probe_device() function, so that we doTheo de Raadt
not randomly skip probing for devices after a missing device. ok kettenis
2008-06-13Remove slack space for RX/TX chains since it only covers sloppy coding.Brad Smith
From davidch @ FreeBSD
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