Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-03 | ONDA Communication H600 | Jonathan Gray | |
2007-05-03 | convert lockmgr style locks to rwlocks. | David Gwynne | |
input from art@ | |||
2007-05-03 | convert lockmgr to rwlocks | David Gwynne | |
2007-05-02 | carefully set the correct memory windows (crb/pci) and add a dummy | Reyk Floeter | |
read after changing the windows to make sure that the value has been set. also change the code to automatically set the correct window which is less error-prone than the manual approach. these changes finally fix the problems with reset and firmware loading. this commit also includes some unrelated changes like register updates, port-specific register mapping, rx/tx pause status etc. | |||
2007-05-02 | - Add support for handling unsolicited events (based on NetBSD). | Deanna Phillips | |
- The STAC9200 codec was mistakenly referred to as STAC9220. Change this to STAC9200 and add a link to the datasheet. - Add a new target, MI_TARGET_PINCTRL, to azalia_generic_mixer_set() that allows us to turn pins on and off. - Add an unsolicited event handler for STAC9200 that will toggle the headphone and speaker pins. This means the speaker will now mute and unmute based on headphone presence. - Spelling: PRESENSE -> PRESENCE Tested by ajacoutot@, tedu@ and krw@, ok krw@. | |||
2007-05-02 | the 5754 and 5787 share the same ASIC ID, make the crazy strings list both | David Gwynne | |
so its obvious to people working on the code | |||
2007-05-02 | do { } while (0) for the debug macros | David Gwynne | |
2007-05-02 | Make meta_read use the metadata memory that is provided in the discipline. | Marco Peereboom | |
2007-05-02 | Add a function to free all discipline members and the discipline itself. | Marco Peereboom | |
Move allocation of "in memory copy" of metadata into the new function. | |||
2007-05-02 | Eliminate unused inline functions and replace ahc_lock() which | Kenneth R Westerback | |
resolves to s = splbio() and ahc_unlock() which resolves to splx(s) with splbio/splx calls. ok marco@ dlg@ | |||
2007-05-02 | Another VIA VT8237A SATA. | Jonathan Gray | |
Tested by Graeme Lee <graeme@omni.net.au> | |||
2007-05-01 | Refactor metadata code; this is the first step to be able to bringup | Marco Peereboom | |
devices at boot time. Reset the metadata versions to 1 until this solidifies we wont change these. | |||
2007-05-01 | some fixes | Reyk Floeter | |
- fix the reset path and remove the '#if 0'. firmware loading makes me cry - update the SW (CRB) register offsets to match the upcoming 3.4.31 firmware - the link state and ifmedia should work now with a register and code fix - ... | |||
2007-05-01 | export the temperature sensor found on the nx(4) NICs. it reports degC | Reyk Floeter | |
and the states UNSPEC, OK, WARN, and CRIT. the driver should use this later to shutdown the NIC if the state becomes CRITical. hw.sensors.nxb0.temp0=37.00 degC, OK | |||
2007-05-01 | fix the nx CRBINIT (initial register values from flash) and disable | Reyk Floeter | |
the firmware load for now. the doc says something like 'just copy data from flash to the same address in memory' but it is not that easy because there are even more configurable windows for the pci memory space. | |||
2007-05-01 | shuffle some code and add additional states in the reset path. use a | Reyk Floeter | |
scheduled timeout to check for the boot process to finish in the reset code instead of waiting for a loooong delay (still use the long delay in the initial boot on attach because i cannot defer the initialization there). | |||
2007-05-01 | do not write every byte of the firmware to the same address, increment | Reyk Floeter | |
the register offset as well... | |||
2007-05-01 | Missing braces in vge_tick(). Fixes link state announcements. | Can Erkin Acar | |
ok reyk@ | |||
2007-05-01 | regen | Jonathan Gray | |
2007-05-01 | VIA P4M890 ids from Graeme Lee <graeme@omni.net.au> | Jonathan Gray | |
2007-05-01 | fix some register offsets | Reyk Floeter | |
2007-05-01 | implement the soft reset of the hardware according to section 3.5.6 of | Reyk Floeter | |
the doc). | |||
2007-04-30 | better handling of the firmware state madness | Reyk Floeter | |
2007-04-30 | fix shift by port | Reyk Floeter | |
2007-04-30 | run the nx_tick function every second to check the link state, even if | Reyk Floeter | |
the interface is down. | |||
2007-04-30 | read the per-port link state | Reyk Floeter | |
2007-04-30 | initial code for firmware loading and initialization. it is used by | Reyk Floeter | |
the reset function and will be used later to load an alternative/updated firmware image and bootloader from disk if the images from the flash are not supported by the driver. | |||
2007-04-30 | add missing newline in printf | Reyk Floeter | |
2007-04-30 | decrease the delay in the register wait loop again and add a debug | Reyk Floeter | |
message to print the number of loops. | |||
2007-04-30 | move the firmware validation to a mountroot hook to allow loading of | Reyk Floeter | |
an alternative firmware image from disk (not yet implemented). this also minimizes the additional delay to wait for the firmware to become ready because the firmware bootstrap is triggered in the attach function and the state is polled later in the mountroot hook. | |||
2007-04-30 | ';;' doesnt work on older gcc.. | Todd T. Fries | |
i.e. my sparc and vax and m68k couldn't build this problem found by me, fix by pedro ok marco@ | |||
2007-04-30 | Replace another expansion of DISKLABELDEV with the define itself. | Kenneth R Westerback | |
2007-04-30 | fix dmesg; ok dlg | Theo de Raadt | |
2007-04-29 | MCDUNIT/etc -> DISKUNIT/etc. No change to mcd.o. | Kenneth R Westerback | |
2007-04-29 | missing arguments in a couple of printfs. | David Gwynne | |
patch from Tim van der Molen | |||
2007-04-29 | Replace expansions of DISKLABELDEV() with DISKLABELDEV(). Shorter, and | Kenneth R Westerback | |
more consistant. No change to code. ok miod@ | |||
2007-04-29 | Nadav Shemer of Tehuti Networks is magical. | David Gwynne | |
not leaving the gap in the txt fifo when uploading the firmware was the cause of my fifo write bug in tht_start. because i was filling the whole fifo, i was writing the wptr back to its original position. because of this i dont think the firmware thought i had written anything. only the last short chunk would have been noticed, which strikes me as possibly confusing to the chip. this diff removes the delay at the top of tht_fifo_post. one less XXX :) | |||
2007-04-29 | clocks and pll register bits | David Gwynne | |
2007-04-29 | we dont want to completely fill fifos, so leave a gap when we calculate | David Gwynne | |
how much of the fifo we want to write firmware to. from Nadav Shemer at Tehuti Networks | |||
2007-04-29 | when we post a fifo we're giving the dma mem back to the hardware, so we | David Gwynne | |
need a presync, not a postsync. another good find by Nadav Shemer at Tehuti Networks | |||
2007-04-29 | when completing a tx pkt, put it back on the tx free list, not the rx one. | David Gwynne | |
found by Nadav Shemer at Tehuti Networks. | |||
2007-04-29 | Match on ATI IXP/SB600 as well. | Jonathan Gray | |
Seen in a dmesg from alemao <skanabiz@gmail.com> ok grange@ | |||
2007-04-29 | Match on VT8237A/VT8251/CX700 like the equivalent Linux driver does. | Jonathan Gray | |
ok kettenis@ | |||
2007-04-28 | initialize and bootstrap the device and enable the firmware | Reyk Floeter | |
verification check. the NIC's bootstrap process can take up to 10 seconds. | |||
2007-04-28 | spacing (cleanup the code before i leave the room) | Reyk Floeter | |
2007-04-28 | attach the available ports and print the lladdr (no operation yet). | Reyk Floeter | |
2007-04-28 | validate the firmware version, this driver requires 3.4.xx (3.4.31). | Reyk Floeter | |
this code is not enabled yet because i need to bootstrap the chipset first. | |||
2007-04-28 | add different flags for debug messages to minimize the noise. | Reyk Floeter | |
2007-04-28 | read more information from flash - get the user info field and copy | Reyk Floeter | |
one lladdr per port. | |||
2007-04-28 | query the board information before mapping the interrupt and before | Reyk Floeter | |
printing the interrupt string. |