summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bnxreg.h
AgeCommit message (Collapse)Author
2006-10-19Overhaul the transmit path:Brad Smith
- Eliminate the bnx_dmamap_arg structure. - Refactor the loop that fills the buffer descriptor so that it can be done with a single set of logic in a single loop instead of two sets of logic. - Eliminate the need to cache and pass descriptor indexes between the start loop and the encap function. - Change the start loop to always check the ifnet sendq for more work. From scottl@FreeBSD
2006-10-14- Simplify the arguments to bnx_tx_encap.Brad Smith
- Don't copy the bd_chain head pointers into temporary objects, they are available globally. From scottl@FreeBSD
2006-10-04Use loadfirmware(9) to get /etc/firmware/bnx instead of hard-coding aTheo de Raadt
gigantic firmware into the kernel; checked by brad
2006-10-02new structure for the firmware blob; ok bradTheo de Raadt
2006-09-20export a structure for the firmware file header. Unfortunately this isTheo de Raadt
one of the more gross firmwares around (as in, the broadcom supplied header file has 30+ ugly global variables.. which we must copy into a header. Kernel and userland must agree about this header, then the kernel can rip the header apart back into it's driver specific "globals"..)
2006-08-21enable Jumbo support.Brad Smith
2006-08-20#if 0 -> #ifdef BNX_JUMBOBrad Smith
2006-08-20- replace IF_DEQUEUE/IF_PREPEND with IFQ_POLL/IFQ_DEQUEUE.Brad Smith
- enable RX checksum offload. - remove some unused code.
2006-08-13Get rid of _HI & _LO macros altogether since they used a wrong idiom.Marco Peereboom
This was pointed out by mickey The driver now uses the same idiom as mpi. help from miod, mickey and kettenis ok brad
2006-08-10unmap memory address space in bnx_release_resources().Brad Smith
2006-08-10remove typedef's.Brad Smith
2006-08-10just use BYTE_ORDER directly instead of setting the drivers endian flags.Brad Smith
2006-08-09add sys/timeout.hBrad Smith
2006-08-09Change #if __LP64__ to #ifdef __LP64__ as requested by bradMarco Peereboom
2006-08-09Reorder dmamap & dmamem to match man page.Marco Peereboom
Redo detection of _LO & _HI macro; help from miod and jordan. ok beck brad
2006-06-26Add a rough initial port of the bce driver from FreeBSD, which providesBrad Smith
support for the new line of Broadcom NetXtreme II Gigabit PCI-X and PCIe controllers, though renamed to bnx. This is work in progress, there are some known issues. With help from Reyk with the bus_dma code. Thanks to David Christensen at Broadcom for the driver and for providing some PCI-X and PCIe adapters. ok deraadt@