summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-06-06- don't mess with assert()/__assert(), use KASSERT() insteadJasper Lievisse Adriaanse
ok jsg@ thib@
2009-06-06regenYojiro Uo
2009-06-06add another UDL deviceYojiro Uo
- LCD-4300U (century corp.) ok mglocker@
2009-06-06remove unused variable prevlen and a second initialization of ifp.Stuart Henderson
adjusted from a diff from chl@; ok naddy, Brad agrees.
2009-06-06- implement support for rtl8187bMartynas Venckus
- change state properly in urtw_stop. disable interrupts, rx, and tx. fixes scanning, ifconfig down, and some other issues - fix rxgain; for ver. 2 - remove delays; that have been removed 8185 -> 8187 new one tested by jsg@, a bunch of people on tech@, and myself old one tested by nick@
2009-06-06unfuck the rest of the way. when we bind the scribble pages to theOwain Ainsworth
aperture, skip over dcache on i810 chipsets and stolen memory on later chips. I didn't notice this before because I mostly used this code with GEM code, which doesn't use the stolen memory.
2009-06-06unfuck slightly, offset was wrong.Owain Ainsworth
2009-06-06mechanical rename of ``priv'' to ``file_priv'' in the one function whereOwain Ainsworth
it had to be fucking different. This has been irritating me.
2009-06-06use BUS_DMA_ZERO instead of alloc + bzero.Owain Ainsworth
2009-06-06bring back the indians for pirofti -- handle unaligned access and put aTheo de Raadt
good estimate at the required byte swapping, bit of help from drahn ok pirofti mlarkin
2009-06-06add an interface to agp to create a bus_dma_tag over a range of theOwain Ainsworth
aperture, which will take your memory, bind it to agp, and return you the aperture address. It's essentially the same as iommu on amd64 in the way it works. This will be used by the upcoming (works but is slow and will not be enabled at first) drm memory management code for intel igp chipsets. Right now the sync function for intagp is really slow (doing a wbinvd() on every sync), this is in the process of getting fixed, but the size of the diffs in my trees was getting silly.
2009-06-06Remove the last VGA_POST defines with X86EMU. Okay deraadt@.Paul Irofti
2009-06-06Fix RCSIdsMatthieu Herrb
2009-06-06option X86EMU is how this subsystem is brought into a kernelTheo de Raadt
2009-06-06Rewrite the SIOCSIFFLAGS ioctl handling code to clean it up a bit andChristian Weisgerber
make it consistent with other drivers. No functional change. From Brad.
2009-06-06fix include pathsTheo de Raadt
2009-06-06Add vga bios repost support. Fetched from the NetBSD tree mostly.Paul Irofti
Tested on multiple i386 and it works, amd64 works also with a few exceptions that will get fixed. The initial effort of importing was done by oga@, thanks! Lots of testing and debugging by mlarkin@ and me. Okay deraadt@, oga@, mlarkin@.
2009-06-05TTheo de Raadt
ariane's new allocator gave iwi dirty memory, and made a real bug fall out. The kva was being stored in a structure hidden by a cast, but passing the "structure" corrupts subsequent arguments to bus_dmamap_load(). group effort with ariane, kettenis, and oga.
2009-06-05catch up NetBSD kern/41048.Yojiro Uo
check for a non-NULL configuration descriptor before dereferencing. ok deraadt@
2009-06-05Add support to fxp(4) for the 82552 MAC found in some variation ofChristian Weisgerber
the ICH7 chipset. Untested, but can't break anything that already works. From Brad; ok sthen@
2009-06-05tidy up promiscuous mode and multicast handling; from Brad; ok sthen@Christian Weisgerber
2009-06-05enable IPv6 receive TCP/UDP checksum offload; from BradChristian Weisgerber
2009-06-05Sanity check: we overrun the rnd_ed[] array if nbits is 32, but thatPhilip Guenthe
should be impossible given the multi-order delta logic ok deraadt@
2009-06-05%zu is not meant for size_t in the kernel. Change to %lu.Ray Lai
OK miod
2009-06-05this one tooMartynas Venckus
2009-06-05reduce diff i will send in a minuteMartynas Venckus
2009-06-04- factor out rf into its own structureMartynas Venckus
- clean up the softc a bit - remove unused SET_CHANNEL - init set sens
2009-06-04remove variable left behind by thibTheo de Raadt
2009-06-04switch to a bnx style dynamic pool backed tx so we don'tJonathan Gray
have to allocate everything up front. Requested by reyk@, 'I'm fine with it' dlg@, 'commit it' deraadt@
2009-06-04- 8187 uses different anaparam valuesMartynas Venckus
- use function pointer we've saved; that'll make things easier for 8187b.
2009-06-04detect & print the revision (rev. d, b) of rtl8187l chip using theMartynas Venckus
tx_conf register. if you get "not supported" in your dmesg; it's actually an (early) rtl8187b that's using rtl8187l id; so you should test the diff on tech@. otherwise; rtl8187b devices not matched yet.
2009-06-04- prepare for multiple revisions; urtw_lookup stuffMartynas Venckus
- fix some comments - remove var from a declaration; for consistency
2009-06-04- make comments understandable by lintMartynas Venckus
- reduce diff a bit
2009-06-04difs&eifs are 8187 regsMartynas Venckus
2009-06-04merge some individual SIS_SETBIT (done for natsemi chips only)Stuart Henderson
into sis_iff_ns() (called only for natsemi). from Brad.
2009-06-04- KNFMartynas Venckus
- nitemize
2009-06-04- update io functions to support indexMartynas Venckus
- add index macros
2009-06-04- fix some commentsMartynas Venckus
- remove some unused fields from softc - spacing
2009-06-04spacingMartynas Venckus
2009-06-04instead of having some 'generic' data str. with "NB: don't use itMartynas Venckus
for tx" for some fields, and functions trying to do everything; split it into rx_data & tx_data. this way it's less error-prone. i've actually fixed a bug doing this. "please start comitting this stuff" jsg@
2009-06-04trying to split some parts;Martynas Venckus
- tx_start never actually free'd mbufs; oops report/test/ok jsg@
2009-06-04regenDamien Bergamini
2009-06-04the Sitecom WL-608 is a run(4) (although it is not 80.11n capable).Damien Bergamini
it has an RT2070 MAC/BB which is a (cheap) single-chip 802.11g solution. USB ID provided by Michael Kiesel.
2009-06-04- Rewrite ioctl handling code and receive filter handling to cleanStuart Henderson
up the code a bit. - Remove unused sc_if_flags field. from Brad.
2009-06-04Even more KNF.Paul Irofti
2009-06-04Add myself to the copyright, suggested by marco@.Paul Irofti
2009-06-04KNF dammitMiod Vallat
2009-06-04move redundant bus_dmamap_sync calls outside an if/else block.Stuart Henderson
from Brad; ok chris@
2009-06-04Add missing argument to printf statement.Ray Lai
Found with -Wformat. OK dlg
2009-06-04Add DIOCRLDINFO to those drivers previously deprived.Kenneth R Westerback
Noticed by & ok deraadt@