summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2008-11-14oops. not yet. sorry for the noise.Jacob Meuser
2008-11-14* readability improvement in azalia_codec_connect_streamJacob Meuser
* DEBUG cleanup from Alexey Suslikov, thanks
2008-11-14regenBrad Smith
2008-11-14Add more NVIDIA MCP77 PCI ids and correct the existing MCP77 SMBus PCI id.Brad Smith
2008-11-11Remove the (unworking to the point it doens't even compile) viadrm driver.Owain Ainsworth
Eventually a drm driver for via hardware may be written, but it will be utterly different to this one. No one objected, ok matthieu@.
2008-11-11Fix prototype for drm_addmap(), okay oga@.Pedro Martelletto
2008-11-10Fix the bits to enable bus mastering mode on some newer chips. FromOwain Ainsworth
Alex Deuchar via drm git.
2008-11-10Make writeback work on after a suspend. From Dave Airlie via drm git.Owain Ainsworth
2008-11-10don't assign ifp to ifp; llvm/clang; ok jsgConstantine A. Murenin
2008-11-09correct device name.Owain Ainsworth
2008-11-09Don't attach to the agp bridges on amd64 machines. They have a differentOwain Ainsworth
interface (which is currently used by iommu(4) on amd64). I have a driver for that interface, but it would currently conflict with iommu and as such has not been commited.
2008-11-09Rework that way that agp attaches.Owain Ainsworth
previously, we had a static list of pcidevs and which agp driver would be interanlly attached. Instead, split the agp drivers so they work like audio(4), where we attach a driver, which sets up some callbacks and initial state, then attaches the interface (agp(4)). Since this allows us to attach different drivers in different places, and give them /proper/ probe functions move most of the drivers back to attaching at pchb, where they should, and intagp (formerly agp_i810) stays attaching at vga, since it's part of the intel integrated graphics chips. Diff shrinks the kernel slightly, gets rid of the annoying "no integrated graphics" warning, and allows more cleanup later. Tested by many. fix for alpha build (the only other vga_pci.c consumer) suggested by miod.
2008-11-09Introduce bpf_mtap_ether(), which for the benefit of bpf listenersChristian Weisgerber
creates the VLAN encapsulation from the tag stored in the mbuf header. Idea from FreeBSD, input from claudio@ and canacar@. Switch all hardware VLAN enabled drivers to the new function. ok claudio@
2008-11-09rework the rate coding code to get rid of the ugly {wpi,iwn}_plcp_signal()Damien Bergamini
function. will be required for future MCS support in iwn.
2008-11-09uninitialized value, caused by a typo.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok damien@
2008-11-08when defragmenting an mbuf chain, do not call M_DUP_PKTHDR.Damien Bergamini
this is an overkill in this case as it duplicates mbuf tags etc... following a discussion with kettenis@ a few months ago about gem(4) did some cleanup while i was there.
2008-11-08remove two printfs that slipped through my last commit.Damien Bergamini
2008-11-08initialize k to NULL in wpi_tx_data()Damien Bergamini
2008-11-08do not call if_start() from tx_done() unless there is a reason to do soDamien Bergamini
(IFF_OACTIVE was set.)
2008-11-08do not allocate cmd memory for rings 5 and 6 (HCCA) which are unused.Damien Bergamini
2008-11-08rework iwn_start().Damien Bergamini
2008-11-08major wpi(4) overhaul.Damien Bergamini
wpi(4) and iwn(4) used to be in sync but with the latest iwn(4) changes, this was no longer the case. that commit repair this. it brings HW CCMP encryption/decryption among other things. requires an update of the wpi-firmware package. please report any regression you might see.
2008-11-08major wpi(4) overhaul.Damien Bergamini
wpi(4) and iwn(4) used to be in sync but with the latest iwn(4) changes, this was no longer the case. that commit repair this. it brings HW CCMP encryption/decryption among other things. requires an update of the wpi-firmware package. please report any regression you might see.
2008-11-08brad, noone said you could go making changes like that (doubling theTheo de Raadt
amount of memory and interrupt time each bge uses) without discussing it with other people. lots of people are complaining about the lack of communication in your process, and you are going to have to change that.
2008-11-08When initializing the standard RX ring, do not allocate mbufs clusters for theTheo de Raadt
whole ring.
2008-11-08Clean up some of the comments.Brad Smith
2008-11-08When initializing the standard RX ring, allocate mbufs clusters for theBrad Smith
whole ring.
2008-11-07When initializing the MAC put the PHY into ready state for BCM5906Brad Smith
chipsets. From the Linux tg3 driver via FreeBSD. Tested by Jordi Creix <jbcreix dot mail at gmail dot com>
2008-11-07When initializing the MAC put the PHY into ready state for BCM5906Brad Smith
chipsets. From the Linux tg3 driver via FreeBSD. Tested by Jordi Creix <jbcreix dot mail at gmail dot com>
2008-11-07- Set default RX coal packets to 64, so RX coal timeout takes control duringBrad Smith
bulk data operations. This greately reduces the interrupt rate while keeps bulk data performance. - Set default TX coal packets to 64 and TX coal timeout to 65535us (maximum allowable value). This greately reduce the interrupt rate while greately increases (almost doubles) small packet TX performance. From DragonFly
2008-11-06The EEPROM is lying about antennas. Hardcode things based on the chipDamien Bergamini
ID which is also what the vendor driver happens to do. Fixes a firmware SYSASSERT on the 5100 when adding the broadcast node. Reported by Jean-Michel Bessot and Robert <robert at openbsd.pap.st>
2008-11-06Oops. Forgot to commit this chunk with the last commit.Owain Ainsworth
Remove softc members and prototypes related to the tasklet system.
2008-11-06Make sure we do not unlock twice.David Hill
nice catch, oga@
2008-11-06Remove the drm_locked_tasklet interface. The only consumer that used itOwain Ainsworth
was the i915 vblank swap ioctl, which just went kaput.
2008-11-06The i915 vblank swap ioctl is fundamentally racy.Owain Ainsworth
using it allowed rendering to continue while waiting for a vblank swap, and often this lead to flickering and rendering a new scene before the swap. this broke a lot of things. With the removal of this swap, userland falls back to the old way of waiting for the vblank then doing the swap itself, this is smooth enough. I decided independantly to kill this, but the intel guys recently concurred. Comment change comes from Eric Anholt at intel.
2008-11-06regenBrad Smith
2008-11-06Add the PCI id for the Broadcom BCM5903F Ethernet chipset.Brad Smith
2008-11-05Remove some PCI macros no longer being used.Brad Smith
2008-11-05remove unused macros, partly from Alexey SuslikovJacob Meuser
2008-11-05* remove two custom unsolicited event handlers in favor of genericJacob Meuser
jack sense handling. makes azalia_generic_mixer_pinctrl useless, so zap it. * azalia_generic_mixer_pin_sense works well enough to not need guessing of pin direction in azalia_generic_mixer_default. from Alexey Suslikov, thanks
2008-11-04implement azalia_create_encodings, which scans through the supportedJacob Meuser
formats and creates an array of unique encodings. use the array in azalia_query_encoding. in other words, no more duplicate encodings in `audioctl encodings`.
2008-11-04need to take mode into account when verifying/setting parametersJacob Meuser
2008-11-04fix potential null dereference.Charles Longeau
Found by LLVM/Clang Static Analyzer. initial patch from me, rewritten by jsing@ ok jsg@
2008-11-04syncTheo de Raadt
2008-11-04new devsTheo de Raadt
2008-11-04If we need to call the tasklet function on unlock, we don't need to holdOwain Ainsworth
tsk_lock (which blocks irqs) for the whole call of the function, just when we manipulate the function pointer.
2008-11-04volume scaling/setting cleanup:Jacob Meuser
* MAX_VOLUME_255 has been defined for ages. remove this define and the code that was only being used when this wasn't defined. * remove azalia_generic_mixer_{max,validate_value} since they are pointless. * when setting both stereo channels to the same level, just set the right channel level to the left channel level instead of calculating both separately. from Alexey Suslikov
2008-11-04regenBrad Smith
2008-11-04Add PCI ids for the Intel 7300 MCH and some more IDT PCI Express switches.Brad Smith
2008-11-04pcidevsTheo de Raadt