summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-08-28Ignore userland provided batchbuffer start parameter, we can determineOwain Ainsworth
it ourselves. From drm git.
2008-08-28set sarea_priv to NULL to prevent possible access on next open/close.Owain Ainsworth
From Robert Noland via drm git.
2008-08-28Kill the ifdefed out ttm interface stuff. The intel driver hasOwain Ainsworth
definitively gone for GEM so this will not be needed. No binary change.
2008-08-28Add some more E1000 PCI ids.Brad Smith
From FreeBSD
2008-08-28This file was meant to be removed with the last commit, it's now emptyOwain Ainsworth
and unused.
2008-08-28replace usage of drm_memrange with extent(9). No functional change, butOwain Ainsworth
should shrink the kernel somewhat. For some strange reason I was unaware of this api when I pulled in these changes. tested by myself and Paul de Weerd, thanks!
2008-08-27Remove a redundant define for RL_CFG2 and remove an incorrect comment.Brad Smith
2008-08-27syncTheo de Raadt
2008-08-27another upsTheo de Raadt
2008-08-27Some __packed cleanup; Remove another obsolete pack from a none-hardwareMarcus Glocker
struct and pack all other hardware structs which have been forgotten.
2008-08-27pass FCS to radiotap.Damien Bergamini
2008-08-27fix IEEE80211_RADIOTAP_F_SHORTPREDamien Bergamini
2008-08-27another IEEE80211_RADIOTAP_F_FCS candidate.Damien Bergamini
2008-08-27add IEEE80211_RADIOTAP_F_FCS radiotap flag from NetBSD.Damien Bergamini
use it in drivers that leave the 802.11 FCS in frames passed to radiotap BPF. otherwise, userland has no way to know if FCS is included or not as it depends on drivers. this is required by some ports (aircrack). requested by dhill@
2008-08-27hardware may pass us ACK or CTS frames in some cases, so useDamien Bergamini
IEEE80211_ACK_LEN instead of IEEE80211_MIN_LEN for ZYD_MIN_RXBUFSZ and ZYD_MIN_FRAGSZ. silence some warnings while i'm there. change ZYD_FILTER_BSS to use the same value as the vendor's driver that contains some magic (undocumented) bits.
2008-08-27the firmware is responsible for sending management frames, butDamien Bergamini
since we pass received management frames to net80211, net80211 may send replies (like deauth/disassoc), so we just call IF_PURGE(&ic->ic_mgtq) in {ipw,iwi}_start just to be on the safe side of things (so we don't leak mbufs).
2008-08-27override net80211's ic_node_alloc function to allocate a fullDamien Bergamini
bwi_node structure (containing the rate control state). because bwi(4) does not support HostAP or IBSS modes there is no need to maintain a per-node rate control state, so we could as well store it in bwi_softc but that will allow for future improvements. pointed out by Taylor R Campbell (campbell AT mumble DOT net) on tech@
2008-08-27introduce new IEEE80211_STA_ONLY kernel option that can be set toDamien Bergamini
remove IBSS and HostAP support from net80211 and 802.11 drivers. it can be used to shrink RAMDISK kernels for instance (like what was done for wi(4)). it also has the benefit of highlighting what is specific to IBSS and HostAP modes in the code. the cost is that we now have two code paths to maintain.
2008-08-26another ups to knock out of being a uhidTheo de Raadt
2008-08-26syncTheo de Raadt
2008-08-26new devsTheo de Raadt
2008-08-26Fix alignment panic on sparc64 by removing a wrong __packed. WhileMarcus Glocker
there reorder fields in the struct to make it shorter on 64 bit archs. panic reported by jasper@ thanks to miod@ for helping me debug this down
2008-08-26Fix a couple of problems that may make gem(4) get stuck:Mark Kettenis
1. If bus_dmamap_load_mbuf() fails because there are not enough segments in the map, defrag the mbuf. 2. If there are not enough free (hardware ring) descriptors, set IFF_OACTIVE and keep the packet on the queue. 3. If there is some other resource starvation that makes bus_dmamap_load_mbuf() or defragmentation fail, drop the packet. Don't set IFF_OACTIVE, since the Tx ring could be empty and we'd be stuck. 4. Only pass packets that are actually handed off to the hardware to BPF. Do so before handing them off to the hardware to make sure the packet isn't freed behind our back. ok dlg@
2008-08-26Better strategy to single out onboard bge(4)'s on sparc64 machines.Mark Kettenis
ok deraadt@
2008-08-26Update comment to mention the 8211C.Brad Smith
2008-08-26regenBrad Smith
2008-08-26Add the PCI id for the Broadcom BCM5785 Ethernet controller.Brad Smith
2008-08-25two spelling fixes from Anathae Townsend;Jason McIntyre
2008-08-24Tadpole Viper onboard ethernet has no eeprom either, but the PROM entryTheo de Raadt
has subsystem ids set to the same as the regular ids, so the heuristic does not work. So look for the TAD,Viper machine name. When we get our hand on a Bullfrog (with a PCI slot) we will need to revisit this. ok kettenis
2008-08-24Define a proper wsdisplay type for legss(4).Miod Vallat
2008-08-24Get VIDIOC_G_FMT working (makes ekiga happy).Marcus Glocker
2008-08-24proper indentTheo de Raadt
2008-08-24Use consistent variable names; curr -> cur, err -> error.Marcus Glocker
2008-08-24Add support for processing unit (e.g. brightness) controls. New V4L2Marcus Glocker
ioctls therefore are VIDIOC_QUERYCTRL, VIDIOC_G_CTRL, and VIDIOC_S_CTRL.
2008-08-24regenBrad Smith
2008-08-24Add Atheros OUI and Atheros F1 id.Brad Smith
From FreeBSD
2008-08-24regenBrad Smith
2008-08-24BCM5714 also supports fiber interfaces.Brad Smith
2008-08-22a ; in a bad place; dragonfly; ok mglockerTheo de Raadt
2008-08-22ANSI and other cleanups; ok krwTheo de Raadt
2008-08-22Add a hack to manually kick off rebuilds. This will need some love in theMarco Peereboom
near future. ok deraadt
2008-08-22synbcTheo de Raadt
2008-08-22more puc happinessTheo de Raadt
2008-08-21Rip out the remnants of the vblank signal stuff. Nothing uses it, andOwain Ainsworth
it's stupid anyway. Most of this was ifdefed out.
2008-08-21Instead of having a number of malloced arrays for vblank handling, justOwain Ainsworth
put them in a structure and malloc free an array of those, it is nicer that way and They're all needed at the same time, anyway. Idea taken from a suggestion on the dri-devel mailing list.
2008-08-20If RI_FORCEMONO is set in ri_flags, build ri_devcmap as if it was a 1bppMiod Vallat
frame buffer.
2008-08-19syncTheo de Raadt
2008-08-19another rum; Jonathan LeeTheo de Raadt
2008-08-18regenBrad Smith
2008-08-18Add the PCI id for the Broadcom BCM5716 Ethernet controller.Brad Smith