Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-08-15 | steal pkt handling from tht. this lets us keep track of mbufs when theyre | David Gwynne | |
on the hardware. it stashes ids and dma bits. | |||
2007-08-15 | implement link state monitoring. you have to poll the firmware to see the | David Gwynne | |
state of the link. since im doing this already for the temp sensor i merged the polling for both and do them at the same time. i poll every 5 seconds now instead of every 60. i can now tell if the cable between the nxe and tht has fallen out. white space fixes while im here. | |||
2007-08-15 | hook up the ether and ifmedia layers. you can see nxe in ifconfig output | David Gwynne | |
now. just the lladdr though, i havent filled in enough of the ioctl handler for more yet. | |||
2007-08-15 | hook a kernel sensor up to the temp register on the chip. poll out of a | David Gwynne | |
timeout since reading registers doesnt need a process context. | |||
2007-08-15 | start the init of the firmware. it can take a long time, so we start it in | David Gwynne | |
attach and make sure its finished at mountroot time. | |||
2007-08-15 | When polling call ahaintr() at splbio(). Noticed by and fix tested by | Kenneth R Westerback | |
todd@. | |||
2007-08-15 | pull my wrapper around single segment dma allocations in. its got to be at | David Gwynne | |
least half a dozen drivers now that use this. | |||
2007-08-15 | white space fixes | David Gwynne | |
2007-08-15 | define the rest of the registers i know about: the interrupt registers, | David Gwynne | |
init, xg config, ring and context addresses, temp sensor, firmware states. | |||
2007-08-15 | fetch the user info off the board. the lladdr and firmware version are | David Gwynne | |
stored on it. display the fw and lladdr in attach. | |||
2007-08-15 | we're a nic, so we need the arpcom and ifmedia structs in our softc | David Gwynne | |
2007-08-15 | read the board information off the flash. check it, and stash what type of | David Gwynne | |
board they say we are. | |||
2007-08-15 | provide a map of the board type the flash memory will tell us we are to the | David Gwynne | |
type of interface it provides. drivers need to deal with 10Gb (XGB) and gigabit (GBE) differently. | |||
2007-08-15 | code to unmap the register windows if something in attach goes horribly | David Gwynne | |
wrong. | |||
2007-08-15 | list where different things lie in the flash. | David Gwynne | |
define what the board info and user info regions in the flash look like as structs. | |||
2007-08-15 | we're going to spend most of our time in crb window 1, so move the chip | David Gwynne | |
into that window in attach. | |||
2007-08-15 | move the mapping of the registers out of attach and into their own function | David Gwynne | |
2007-08-15 | code to read stuff out of the flash chip on the netxen. | David Gwynne | |
2007-08-15 | code to wait on registers in the main and crb spaces. | David Gwynne | |
2007-08-15 | add DPRINTF and DASSERT debug macros. | David Gwynne | |
2007-08-15 | there is flash on the netxens that contains things like the firmware, the | David Gwynne | |
firmware boot loader, and various structs with information about how the chip is configured. these registers are used to access that flash. | |||
2007-08-14 | stash the pci function this port is on in the softc. | David Gwynne | |
create a bus_space subregion for the CRB register window. provide a way to set which crb window you want, and a way to read and write in it. | |||
2007-08-14 | start defining the register layout. | David Gwynne | |
the netxen nics are a bit strange. their main register window is HUGE at a big 128MB size. apparently this isnt enough though, so they used the top 32 meg of the main register space as a window into a 64meg region. which half of this space (the CRB window) is available is determined by setting a register INSIDE this window. that register just happens to be available in both windows. kinda crazy. | |||
2007-08-14 | read and write routines for the big register window | David Gwynne | |
2007-08-14 | dont match on nxe boards that dont claim to be network devices. | David Gwynne | |
2007-08-14 | stash the dma tag. | David Gwynne | |
map the register windows. put a stub in place for the interrupt handler | |||
2007-08-14 | enter nxe, a driver for the netxen 10Gb cards. | David Gwynne | |
i have most of this already written but this is just the attach glue. i'll be adding code in smallish chunks so i can decruft it as i go. | |||
2007-08-14 | Indention and comment. | Marcus Glocker | |
2007-08-14 | Prevent sneaking in unencrypted packets into WEP traffic. | Alexander Bluhm | |
ok damien@, put it ok deraadt@ | |||
2007-08-14 | Work-around an interaction between FPU context switching and the VIA | Henric Jungheim | |
Padlock entropy polling on SMP boxes. ok deraadt@, kettenis@ | |||
2007-08-14 | remove my unfinished version of the nx driver, we have a better solution | Reyk Floeter | |
requested by dlg@ ok deraadt@ | |||
2007-08-14 | Make sure all the packet is in one continuous mbuf. | Can Erkin Acar | |
This is a bandaid solution, a better solution will go in post 4.2. Reported and tested by Joerg Zinke. ok claudio@, deraadt@ | |||
2007-08-14 | removal of zts sysctls created a numeric gap. repair. ok miod robert | Theo de Raadt | |
2007-08-14 | Add missing siop@phantomas and siop@uturn attachments. The latter was tested | Mark Kettenis | |
by nick@ (who sacrificed a few LVD drives for it). The former was tested on a machine without a drive connected, but there is no reason to expect it not to work. | |||
2007-08-14 | I forgot to remove the UNIT macro when the wdt char device was removed | Michael Knudsen | |
long ago. | |||
2007-08-14 | Replace bus_space_write/read_2 loops in cmd req/rsp routines with | Marcus Glocker | |
bus_space_write/read_raw_multi_2. | |||
2007-08-11 | Set command context save flag already in attach routine. Avoids double | Marcus Glocker | |
processing of command responses. | |||
2007-08-11 | Remove IBSS capability flag for now. | Marcus Glocker | |
2007-08-10 | Enable CF malo for macppc, it also works there. | Marcus Glocker | |
OK claudio@ | |||
2007-08-10 | make it more clear that the temperature can range between 0 and 285, | Jasper Lievisse Adriaanse | |
by using "0 - 285" instead of "0..285" ok damien@ | |||
2007-08-10 | Fix some letho16() tweaks which made my macppc crash on an | Marcus Glocker | |
assoiciation. | |||
2007-08-10 | Be more careful when asking for the next property. help and ok kettenis@. | Federico G. Schwindt | |
2007-08-10 | Add missing multicast part to ioctl. | Marcus Glocker | |
2007-08-10 | sync | Xavier Santolaria | |
2007-08-10 | Add Bluetooth devices. From NetBSD. ok deraadt | Xavier Santolaria | |
2007-08-09 | If an association has failed, set the device back to INIT state. | Marcus Glocker | |
2007-08-09 | Check all FW commands in the init path. None of them shall timeout, | Marcus Glocker | |
otherwise we abort initialization. | |||
2007-08-09 | o Add a mechanism to execute single commands even if are are not context | Marcus Glocker | |
save. Protects cmalo_cmd_set_assoc() for now. o In case of deauthentication or disassociation, try to reassociate. | |||
2007-08-09 | Correctly acknowledge event interrupts. Got the wrong register value | Marcus Glocker | |
before. | |||
2007-08-09 | Comment. Sort some register values. | Marcus Glocker | |