summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Expand)Author
2007-08-24enable interrupts when the interface comes up.David Gwynne
2007-08-24this is what the interrupt handler will look like. there'll be some addedDavid Gwynne
2007-08-24the chip has three rx rings, one for normal packets, one for jumbos, andDavid Gwynne
2007-08-24the ring sizes are reprresented by 32 bit fields in the context descirptor,David Gwynne
2007-08-24On the older devices, apparently early configuration (and doing it againTheo de Raadt
2007-08-23implement the completion half of the tx path. the driver keeps track ofDavid Gwynne
2007-08-23configure the NIU to rx packets that will fit into the mbufs we willDavid Gwynne
2007-08-23wrap writes to the doorbell register.David Gwynne
2007-08-23the first read or write in the crb space after you switch the windowsDavid Gwynne
2007-08-23program the niu with the mac address in the right order.David Gwynne
2007-08-23tweak the register macros a bit. add macros for the NIUs port registersDavid Gwynne
2007-08-23"correctly" activate high-power charging on (hopefully) all devices,Theo de Raadt
2007-08-23syncTheo de Raadt
2007-08-23more berry device typeTheo de Raadt
2007-08-23syncTheo de Raadt
2007-08-23blackberry pearlTheo de Raadt
2007-08-22when running out of rx buffers, allocate a new mbuf and copy the rxDamien Bergamini
2007-08-22fix compilation with KDGBJasper Lievisse Adriaanse
2007-08-15oops, forgot the print the intr string on attachDavid Gwynne
2007-08-15hook the interrupt upDavid Gwynne
2007-08-15implement nxe_start. this is enough to put packets on the wire. the sglDavid Gwynne
2007-08-15program the mac control thing according the the multicast or promiscDavid Gwynne
2007-08-15program the lladdr when the chip is brought up.David Gwynne
2007-08-15sync all the bits for use by the hardware, and then point the chip at them.David Gwynne
2007-08-15when the interface is brought up allocate all the things that are neededDavid Gwynne
2007-08-15allocate pkt lists when the interface is brought up.David Gwynne
2007-08-15here are the tx, rx, and status (rx completion) descriptors used in the ioDavid Gwynne
2007-08-15move the firmware to the right state before we start allocating everythingDavid Gwynne
2007-08-15lock accesses to the ioctl handler.David Gwynne
2007-08-15this code definitely uses queue.hDavid Gwynne
2007-08-15tell the ioctl handler to call nxe_up/down/iff at the right times. theyDavid Gwynne
2007-08-15code to allocate, free, sync, and iterate over rings. this is based looselyDavid Gwynne
2007-08-15steal pkt handling from tht. this lets us keep track of mbufs when theyreDavid Gwynne
2007-08-15implement link state monitoring. you have to poll the firmware to see theDavid Gwynne
2007-08-15hook up the ether and ifmedia layers. you can see nxe in ifconfig outputDavid Gwynne
2007-08-15hook a kernel sensor up to the temp register on the chip. poll out of aDavid Gwynne
2007-08-15start the init of the firmware. it can take a long time, so we start it inDavid Gwynne
2007-08-15When polling call ahaintr() at splbio(). Noticed by and fix tested byKenneth R Westerback
2007-08-15pull my wrapper around single segment dma allocations in. its got to be atDavid Gwynne
2007-08-15white space fixesDavid Gwynne
2007-08-15define the rest of the registers i know about: the interrupt registers,David Gwynne
2007-08-15fetch the user info off the board. the lladdr and firmware version areDavid Gwynne
2007-08-15we're a nic, so we need the arpcom and ifmedia structs in our softcDavid Gwynne
2007-08-15read the board information off the flash. check it, and stash what type ofDavid Gwynne
2007-08-15provide a map of the board type the flash memory will tell us we are to theDavid Gwynne
2007-08-15code to unmap the register windows if something in attach goes horriblyDavid Gwynne
2007-08-15list where different things lie in the flash.David Gwynne
2007-08-15we're going to spend most of our time in crb window 1, so move the chipDavid Gwynne
2007-08-15move the mapping of the registers out of attach and into their own functionDavid Gwynne
2007-08-15code to read stuff out of the flash chip on the netxen.David Gwynne