summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Expand)Author
2007-04-21fill the rx free fifo on interface up, and drain it on interface down.David Gwynne
2007-04-21tht wants at least 128 bytes in the first physical segment of an rx bufferDavid Gwynne
2007-04-21rename tht_rx to tht_rxf_fill to avoid confusion.David Gwynne
2007-04-21add tht_rx. this function will try to fill as much of the rx free fifo asDavid Gwynne
2007-04-21when allocating a new mbuf for rx, do a dmamap_sync before handing it toDavid Gwynne
2007-04-21simplify some maths in fw_load a bitDavid Gwynne
2007-04-21allocate a small list of tx and rx descriptors on interface up and down.David Gwynne
2007-04-21quick macro to figure out how many 64bit words a buffer will use.David Gwynne
2007-04-21create struct tht_pkt to keep track of mbufs that are on the hardware andDavid Gwynne
2007-04-21represent the uid field in all the descriptors as a u_int64_t instead ofDavid Gwynne
2007-04-21rename tht_rxf to tht_rx_free. tweak comments describing the hw structuresDavid Gwynne
2007-04-20add a lock around ioctl handling to prevent the posssibility that someoneDavid Gwynne
2007-04-20this implements up and down routines for the interface. currently whenDavid Gwynne
2007-04-20implement reads from a fifo.David Gwynne
2007-04-20add fifo descriptors for the rxf and rxd fifos.David Gwynne
2007-04-20tht uses ifmedia and firmloadDavid Gwynne
2007-04-20we'd like to show if the nic has link regardless of whether the interfaceDavid Gwynne
2007-04-20implement checking of the link status according to the firmware, and teachDavid Gwynne
2007-04-20bits in the link status registerDavid Gwynne
2007-04-19Cleanup phy selection code, simplifying the code considerably. Attach onlyMark Kettenis
2007-04-19this is two (and a half) changes, but im too lazy to split them up.David Gwynne
2007-04-18Pass arguments to DPRINTF in the right order.Mark Kettenis
2007-04-18start implementing support for the fifos on these chips.David Gwynne
2007-04-18move the tht attach args up a bit, for greater feng shuiDavid Gwynne
2007-04-18add a wrapper around single segment dmaable memory allocations. this hasDavid Gwynne
2007-04-18callers of sw_reset will print an error message if anythign goes wrong, soDavid Gwynne
2007-04-18reset the port before establishing the interrupt handler during attachDavid Gwynne
2007-04-18implement the software reset of a port as per the specificationDavid Gwynne
2007-04-18code to busy wait on registers and bits in bus_spaceDavid Gwynne
2007-04-18tiny register additionsDavid Gwynne
2007-04-18define the bits in the RX_FLT registerDavid Gwynne
2007-04-17lots of registersDavid Gwynne
2007-04-17start defining the hardware structuresDavid Gwynne
2007-04-17a break in the default case, while unnecessary, is still nice.David Gwynne
2007-04-17add some ifmedia goop.David Gwynne
2007-04-17point ifreq in the ioctl path at something, so we can void dereferencingDavid Gwynne
2007-04-17initial bits for the network interface glue.David Gwynne
2007-04-16do some byteswapping to make the mac address look more believable. i dontDavid Gwynne
2007-04-16move nxb_map_pci code into nxb_attachReyk Floeter
2007-04-16not yetReyk Floeter
2007-04-16establish the interrupt per port and not per board (inspired by theReyk Floeter
2007-04-16move the nxb_tick function to a per-port nx_tick functionReyk Floeter
2007-04-16Start a driver for the NetXen Inc. multi port 10Gb and GigabitReyk Floeter
2007-04-16read the mac address off the port. i hope its the right way round.David Gwynne
2007-04-16add wrappers around bus space ops for each portDavid Gwynne
2007-04-16add a point from tht_softc back to thtc_softc so we can use thtc's busDavid Gwynne
2007-04-16sigh, move tht autoconf stuff after thtc autoconf stuff. it will workDavid Gwynne
2007-04-16create a register window for each port.David Gwynne
2007-04-16move handling interrupts from thtc into separate handlers for each port.David Gwynne
2007-04-16move the tht autoconf glue before the thtc autoconf glueDavid Gwynne