Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-08-31 | regen | Jonathan Gray | |
2007-08-31 | Add a bunch of devices from submitted dmesgs. | Jonathan Gray | |
2007-08-30 | don't swap X and Y coordinates while in raw mode. ok robert@ | Matthieu Herrb | |
2007-08-30 | PHY on D495GCCR board | Chris Kuethe | |
"Right" deraadt | |||
2007-08-30 | regen | Chris Kuethe | |
2007-08-30 | Intel PHY on D945GCCR board | Chris Kuethe | |
"Right" deraadt | |||
2007-08-30 | proper sync | Theo de Raadt | |
2007-08-30 | rename pearl mass storage mode sync | Theo de Raadt | |
2007-08-30 | handle new pearl-style devices (which now attach their SD cards as a umass), | Theo de Raadt | |
or ancient ancient usb/serial devices (which come up as false usb devices when turned off); thanks to kitella for giving me a variety pack of old units | |||
2007-08-28 | unify firmware load failure messages; ok mglocker | Theo de Raadt | |
2007-08-28 | Unify DPRINTF's and use the device name argument for all outputs. | Marcus Glocker | |
OK claudio@ | |||
2007-08-28 | OMRON BX35F is a UPS and should not be claimed by uhid | Henning Brauer | |
From: vladas <vladas.urbonas@gmail.com> | |||
2007-08-28 | regen | Henning Brauer | |
2007-08-28 | OMRON BX35F (a UPS) | Henning Brauer | |
2007-08-27 | Process all FW command responses, and therefore make them visible in debug | Marcus Glocker | |
mode. Make a note that processing of command-done interrupts doesn't work yet. OK claudio@ | |||
2007-08-27 | start implementing the rx code. this puts pkts and descriptors onto the | David Gwynne | |
rx ring. | |||
2007-08-26 | Fix XXX comment. There is nothing wrong with the following statement. | Marcus Glocker | |
2007-08-25 | Remove FW command for WEP, it doesn't work with this FW version | Marcus Glocker | |
(not supported). We always did software WEP. Spotted by Mikore dot Li at sun dot com. OK claudio@ | |||
2007-08-25 | Fix typo in debug line. | Marcus Glocker | |
2007-08-25 | Fix debug output for some FW commands. | Marcus Glocker | |
2007-08-24 | enable interrupts when the interface comes up. | David Gwynne | |
i seem to be crashing the rx unit though which is responsible for generating the interrupts. i havent got any yet. | |||
2007-08-24 | this is what the interrupt handler will look like. there'll be some added | David Gwynne | |
lines in here later that call the tx and rx completions. | |||
2007-08-24 | the chip has three rx rings, one for normal packets, one for jumbos, and | David Gwynne | |
one for lro. the manual says that they all have to have descriptors in them for correct operation. i dont care about jumbos and lro at this point so im going to point the descriptors in those rings at a dummy 64k buffer. this diff adds the allocation of that buffer. | |||
2007-08-24 | the ring sizes are reprresented by 32 bit fields in the context descirptor, | David Gwynne | |
so use htole32 to get a value for them, not htole64. | |||
2007-08-24 | On the older devices, apparently early configuration (and doing it again | Theo de Raadt | |
later) removes the need for forced device disconnection. And now they do not bounce back a few times, but go to 500mA on the 2nd connection. | |||
2007-08-23 | implement the completion half of the tx path. the driver keeps track of | David Gwynne | |
mbufs we've put on the hardware with the nxe_pkt struct. this struct contains a unique id for each pkt which is used the hardwares tx descriptor so we could identify which pkts its finished transmitting. turns out the hardware doesnt return ids though, it tells us which slots in the tx ring its up to. so now i stash the slot a pkt went into in the pkt_id field. | |||
2007-08-23 | configure the NIU to rx packets that will fit into the mbufs we will | David Gwynne | |
allocate for it, rather than the default of 1600. | |||
2007-08-23 | wrap writes to the doorbell register. | David Gwynne | |
2007-08-23 | the first read or write in the crb space after you switch the windows | David Gwynne | |
tends to be junk, except in the pci regs for some reason. read the crb window register back after setting it to force the junk to go away. this fixes some really weird issues i had. | |||
2007-08-23 | program the niu with the mac address in the right order. | David Gwynne | |
2007-08-23 | tweak the register macros a bit. add macros for the NIUs port registers | David Gwynne | |
which are useful to see whats happening on the wire. | |||
2007-08-23 | "correctly" activate high-power charging on (hopefully) all devices, | Theo de Raadt | |
based on work in barry/bcharge; tested on a few units. still not tested on pearl-style units... if someone has one, contact me please | |||
2007-08-23 | sync | Theo de Raadt | |
2007-08-23 | more berry device type | Theo de Raadt | |
2007-08-23 | sync | Theo de Raadt | |
2007-08-23 | blackberry pearl | Theo de Raadt | |
2007-08-22 | when running out of rx buffers, allocate a new mbuf and copy the rx | Damien Bergamini | |
buffer into it using m_copym2() instead of just dropping the received frame. otherwise, it may happen that all rx buffers are queued by tcp_input() waiting for a frame that will never arrive because we are dropping it. when it happens, rx stop working and it is hard to recover from this. the problem is not visible when using WEP because WEP decryption is currently done by software and that rx buffers are copied into mbufs by the software decryption code. while i'm here, increase the number of rx buffers allocated by wpi(4) from 80 to 96 to limit the number of copies. problem and solution found by bluhm@ - thanks. | |||
2007-08-22 | fix compilation with KDGB | Jasper Lievisse Adriaanse | |
from Nicholas Marriott ok deraadt@ | |||
2007-08-15 | oops, forgot the print the intr string on attach | David Gwynne | |
2007-08-15 | hook the interrupt up | David Gwynne | |
2007-08-15 | implement nxe_start. this is enough to put packets on the wire. the sgl | David Gwynne | |
layout of this chip is extremely weird. there's only 4 sg entries in each tx descriptor, but theyre out of order. you can use multiple tx descriptors to tx more than 4 segments, but instead of letting you use all 64bytes that a tx descriptor uses you just use the same 4 sg entries, and up to 8 descs. | |||
2007-08-15 | program the mac control thing according the the multicast or promisc | David Gwynne | |
settings that we ask for. set these flags when the interface is brought up. | |||
2007-08-15 | program the lladdr when the chip is brought up. | David Gwynne | |
2007-08-15 | sync all the bits for use by the hardware, and then point the chip at them. | David Gwynne | |
the firmware is now ready to send and recv packets. | |||
2007-08-15 | when the interface is brought up allocate all the things that are needed | David Gwynne | |
for the chip to work with, eg, the context region, the cmd consumer, the cmd/tx ring, the status ring, and the 3 rx rings. free it all when we bring the chip down. | |||
2007-08-15 | allocate pkt lists when the interface is brought up. | David Gwynne | |
make nxe_up return void and report its failure by not setting the RUNNING flag like every other nic ive read. | |||
2007-08-15 | here are the tx, rx, and status (rx completion) descriptors used in the io | David Gwynne | |
paths. | |||
2007-08-15 | move the firmware to the right state before we start allocating everything | David Gwynne | |
for it. | |||
2007-08-15 | lock accesses to the ioctl handler. | David Gwynne | |
2007-08-15 | this code definitely uses queue.h | David Gwynne | |