Age | Commit message (Collapse) | Author |
|
|
|
into common pcireg.h
ok deraadt@, kettenis@, dlg@
|
|
|
|
|
|
"looks sane to me" marco@
|
|
*sigh*
|
|
|
|
to ease debugging
ok uwe
|
|
on i386 and amd64 (we do not implement bounce buffers) where this hardware
is likely to be found. this is good programming practice.
|
|
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.
|
|
|
|
|
|
|
|
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)
|
|
from attaching
with a hint from mglocker@
|
|
|
|
- add product id for their uaudio stick
|
|
ok mglocker@
|
|
|
|
ok deraadt@
|
|
at attach time for devices which set bDefaultFrameIndex larger than
the existing frame descriptors.
Spotted, tested, and OK yuo@
|
|
running before we play with things.
Lots more cleanup needed, but now you can shut X without it crashing.
|
|
|
|
ok oga@
|
|
|
|
|
|
able to give them to me.
|
|
shaves a few bytes, but that's just gravy.
|
|
|
|
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.
|
|
worked on with djm
|
|
9k backend allocator is available.
vic is the first driver to properly support "jumbo" frames. this is the
model every other driver should follow.
|
|
are fairly small. tested by a few, and kettenis says he will test it sooner
if it is commited...
|
|
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.)
|
|
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.
|
|
fill a slot when the mbuf allocator gives us an mbuf cluster.
|
|
|
|
|
|
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
|
|
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@
|
|
|
|
Someone must have fumbled with this line by accident while doing the
original port of the driver.
|
|
|
|
Add SDMMC_ASSERT_LOCKED(), replacing many locking calls, and sprinkling
the assertion to make sure that future changes don't catch us out
"please commit" uwe@
|
|
dma_bufs; allow the driver to provide the size and not have the private
data pointer. only radeon only needs this so far, but intel with GEM
also needs it.
Postclose was only used for freeing said private data, so this allows me
to remove the postclose callback and rename preclose to close.
|
|
ask the driver how large they need the structure we allocate to be, and
use inheritance like we do for struct device. Simplifies things a little
bit and saves us a pointer.
|
|
|
|
|
|
|
|
|