Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-26 | Add a missing device. Found by Alex Brodsky <abrodsky@acs.winnipeg.ca>. | Marc Balmer | |
ok deraadt | |||
2008-11-26 | Use bus_dmamap_load_mbuf instead of loading mbuf fragments ourselves, and | Mark Kettenis | |
use m_defrag to linearize packets that don't fit in 16 segments. ok claudio@ | |||
2008-11-26 | rework the filling of the rx ring. this switches us to having the cluster | David Gwynne | |
allocation limited by per ifp statistics, ie, we're not guaranteed to have mbufs in every slot on the rx ring. instead of filling the ring with 256 mbufs all the time (about 512KB of kva) when em is brought up, we give it 4. as demand grows we increase the number of mbufs allowed on the ring. i will bet most users wont go above 50ish mbufs, so we're saving them 400KB of kva. tested by many, including one on sparc64 ok claudio@ deraadt@ henning@ krw@ | |||
2008-11-26 | Zero the surface when we free them. stops some state problems which cause | Owain Ainsworth | |
corruption on second X start on some machines. This driver is really quite dumb. | |||
2008-11-25 | Add generic sr_scsi_done function that does the spl dance | Marco Peereboom | |
2008-11-25 | Halt scanning by returning proper sense for illegal LUN. | Marco Peereboom | |
2008-11-25 | more sizeof->nitems | Damien Bergamini | |
2008-11-25 | use shiny new m_defrag() and nitems() instead of rolling our own. | Damien Bergamini | |
2008-11-25 | move some generic PCIe register flags used in wpi(4) and iwn(4) | Damien Bergamini | |
into common pcireg.h ok deraadt@, kettenis@, dlg@ | |||
2008-11-25 | fixes to build; thanks ratchov@ | Todd T. Fries | |
2008-11-25 | dontqueue is set but never used. garbage collect it. | Kenneth R Westerback | |
2008-11-25 | Another bunch of TRY_AGAIN_LATER -> NO_CCB when no I/O could be started. | Kenneth R Westerback | |
"looks sane to me" marco@ | |||
2008-11-25 | Unbreak the tree | Owain Ainsworth | |
*sigh* | |||
2008-11-25 | fix: add output mixer class | Alexandre Ratchov | |
2008-11-25 | set parameters to native ones; don't setup emulation for now | Alexandre Ratchov | |
to ease debugging ok uwe | |||
2008-11-25 | add a shitload of bus_dmamap_sync() calls, even though they are no-ops | Damien Bergamini | |
on i386 and amd64 (we do not implement bounce buffers) where this hardware is likely to be found. this is good programming practice. | |||
2008-11-25 | Don't try and enable the vblank handler if irqs are disabled. | Owain Ainsworth | |
This is the source of the radeon issues with seizing at X startup. I didn't see this since my test box in coimbra is a pcie amd64 machine running MP. i.e. it has a slightly less shitty interrupt controller. | |||
2008-11-25 | backout large cluster allocators. | David Gwynne | |
2008-11-25 | put 9k frames on the jumbo ring | David Gwynne | |
2008-11-25 | spacing | Theo de Raadt | |
2008-11-25 | Switch wb(4) from the insane ext buffer usage to a very simple m_devget() | Claudio Jeker | |
call to copy the packet from the RX DMA ring to build a mbuf (it almost already did that but way more complex). OK brad@ dlg@ thib@ Tested by Tero Koskinen tero.koskinen (at) iki (dot) fi on a wb(4) | |||
2008-11-25 | - add a quirk for the terratec uaudio device to stop uhidev(4) | Jasper Lievisse Adriaanse | |
from attaching with a hint from mglocker@ | |||
2008-11-25 | regen | Jasper Lievisse Adriaanse | |
2008-11-25 | - add vender id for terratec | Jasper Lievisse Adriaanse | |
- add product id for their uaudio stick | |||
2008-11-25 | upgt(4) doesn't use amrr, remove useless header net80211/ieee80211_amrr.h | Kevin Lo | |
ok mglocker@ | |||
2008-11-24 | add BTDEV_NONE | Uwe Stuehler | |
2008-11-24 | The Exsys EX-1372 uses a 8x clock. | Mark Kettenis | |
ok deraadt@ | |||
2008-11-24 | More sanitizing for wrong bDefaultFrameIndex values. Fixes a panic | Marcus Glocker | |
at attach time for devices which set bDefaultFrameIndex larger than the existing frame descriptors. Spotted, tested, and OK yuo@ | |||
2008-11-24 | Work around the stupidity of radeondrm by double checking that things are | Owain Ainsworth | |
running before we play with things. Lots more cleanup needed, but now you can shut X without it crashing. | |||
2008-11-24 | Import btsco(4) from NetBSD to work on it | Uwe Stuehler | |
2008-11-24 | Make sure we do not DRM_UNLOCK() twice. | David Hill | |
ok oga@ | |||
2008-11-24 | no 9k cluster allocator yet, switch back to 4k. | David Gwynne | |
2008-11-24 | extra decl not needed; spotted by djm | Theo de Raadt | |
2008-11-24 | switch from 4k to 9k frames on the jumbo ring now the cluster allocator is | David Gwynne | |
able to give them to me. | |||
2008-11-24 | destatic radeondrm almost completely. I'm sick of ddb lying to me. | Owain Ainsworth | |
shaves a few bytes, but that's just gravy. | |||
2008-11-24 | some whitespace fixes in em_rxeof | David Gwynne | |
2008-11-24 | back out the buf_priv change. it made some incorrect assumptions and | Owain Ainsworth | |
broke radeondrm. Fixing it is ugly, so another change will have to be made later. I /hate/ the drm_buf api, it will die as soon as it can. | |||
2008-11-24 | allow entropy to be queued before randomattach() is called | Theo de Raadt | |
worked on with djm | |||
2008-11-24 | enable the use of the second rx ring. populate it with 4k frames until the | David Gwynne | |
9k backend allocator is available. vic is the first driver to properly support "jumbo" frames. this is the model every other driver should follow. | |||
2008-11-24 | use workq instead of crafting our own kthread, since the tasks being done | Theo de Raadt | |
are fairly small. tested by a few, and kettenis says he will test it sooner if it is commited... | |||
2008-11-24 | change a device descriptor get logic during the enumeration process. | Yojiro Uo | |
Some device could not handle the device descriptor request with short bLength (less than the device descriptor size(18 byte)). To handle such kind of devices, add complemental request loop to current logic. (memo: and I also found a device which can not response to any device descriptor request. It always returns only 8 byte-length head of the descriptor for 1st query. This is the reason why the device descriptor loop of this usb subsystem start with 8-byte length query.) | |||
2008-11-24 | switch from using MCLGET to MCLGETI for clusters going onto the rx ring. | David Gwynne | |
this causes vic to start up with 4 mbufs on the ring, and the allocator will let it increase the number of rx mbufs as usage demands. testing shows that i need only 20 to 30 mbufs on the rx ring to cope with full speed io. we used to always put 100 on the ring, so we're now saving 140k of kernerl virtual address space (70 * MCLBYTES). this relies on the previous commit that copes with failures of mbuf allocation in the rx path. similar changes must be made to all the other drivers. i'll happily review diffs people send in. SUBTLE HINTS ARE COMING YOUR WAY. | |||
2008-11-24 | drop the requirement that the rx ring has to be filled with mbufs. we only | David Gwynne | |
fill a slot when the mbuf allocator gives us an mbuf cluster. | |||
2008-11-24 | Fixup wakeup pointers. interrupts work properly again. | Owain Ainsworth | |
2008-11-24 | Don't unmap REGISTERS maps, we don't map them anymore. | Owain Ainsworth | |
2008-11-24 | - Add two new ioctls to gpio(4), GPIOATTACH and GPIODETACH, to allow to attach | Marc Balmer | |
and detach devices on a gpiobus at runtime. The offset and mask locators in kernel config files can still be used for static configuration, so this does not break existing custome kernel configs. - Have gpioow(4) unmap the pins it used from the gpiobus during detach Changes to gpioctl(8) will be a separate committ. ok uwe | |||
2008-11-24 | Seed the random pool with the dmesg buffer at randomattach(). | Marco Pfatschbacher | |
This lets early arc4random() calls to return at least non-uniqe values on different machines. The dmesg will have different MAC addresses, etc. Also ignore the entropy count in arc4_stir, and just take what's there. sizeof(struct timeval) should be sizof(struct timespec) This was forgotten when we switched to nanotime. With help from mickey. OK djm@, deraadt@ | |||
2008-11-24 | die die die | Theo de Raadt | |
2008-11-24 | Respond to incoming connections, not only after we initiated the first one. | Uwe Stuehler | |
Someone must have fumbled with this line by accident while doing the original port of the driver. | |||
2008-11-24 | don't free extent on lastclose, it's static data now. | Owain Ainsworth | |