summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-05-01Provide <machine/lock.h> on all platforms, so that MI code may #include itMiod Vallat
unconditionnaly.
2007-05-01similar exit support for -a, to what i386 doesTheo de Raadt
2007-05-01support exit at boot -a timeTheo de Raadt
2007-05-01export the temperature sensor found on the nx(4) NICs. it reports degCReyk 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-01RAMDISK kernels do not need DIAGNOSTICTheo de Raadt
2007-05-01expose two things needed for non-DIAGNOSTIC kernelsTheo de Raadt
2007-05-01fix the nx CRBINIT (initial register values from flash) and disableReyk 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-01shuffle some code and add additional states in the reset path. use aReyk 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-01do not write every byte of the firmware to the same address, incrementReyk Floeter
the register offset as well...
2007-05-01Missing braces in vge_tick(). Fixes link state announcements.Can Erkin Acar
ok reyk@
2007-05-01Missing RCS tag.Gordon Willem Klok
2007-05-01framgent -> fragmentRay Lai
2007-05-01regenJonathan Gray
2007-05-01VIA P4M890 ids from Graeme Lee <graeme@omni.net.au>Jonathan Gray
2007-05-01fix some register offsetsReyk Floeter
2007-05-01implement the soft reset of the hardware according to section 3.5.6 ofReyk Floeter
the doc).
2007-04-30better handling of the firmware state madnessReyk Floeter
2007-04-30fix shift by portReyk Floeter
2007-04-30run the nx_tick function every second to check the link state, even ifReyk Floeter
the interface is down.
2007-04-30read the per-port link stateReyk Floeter
2007-04-30initial code for firmware loading and initialization. it is used byReyk 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-30Enable FFS2, okay deraadt@Pedro Martelletto
2007-04-30Enable QUEUE_MACRO_DEBUG on DIAGNOSTIC kernels.Pedro Martelletto
Input and okays from krw@, millert@, otto@, deraadt@, miod@.
2007-04-30check for exit string earlierTheo de Raadt
2007-04-30support "exit" like sparc64 does; ok miodTheo de Raadt
2007-04-30use boot(RB_USERREQ | RB_HALT) to get back to the prom instead ofTheo de Raadt
special openfirmware calls; discussed with miod
2007-04-30support "exit" as a RB_ASKNAME choice; discussed with miodTheo de Raadt
2007-04-30add missing newline in printfReyk Floeter
2007-04-30decrease the delay in the register wait loop again and add a debugReyk Floeter
message to print the number of loops.
2007-04-30move the firmware validation to a mountroot hook to allow loading ofReyk 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-30Fix dmesg nit.Miod Vallat
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-30Replace another expansion of DISKLABELDEV with the define itself.Kenneth R Westerback
2007-04-30HDUNIT/etc -> DISKUNIT/etc. No functional change.Kenneth R Westerback
"Looks right" millert@ "toss 'em in" deraadt@
2007-04-30fix dmesg; ok dlgTheo de Raadt
2007-04-29MCDUNIT/etc -> DISKUNIT/etc. No change to mcd.o.Kenneth R Westerback
2007-04-29missing arguments in a couple of printfs.David Gwynne
patch from Tim van der Molen
2007-04-29Replace expansions of DISKLABELDEV() with DISKLABELDEV(). Shorter, andKenneth R Westerback
more consistant. No change to code. ok miod@
2007-04-29Blink 8x slower, so that this fits better with Kraftwerk's ``ElektroMiod Vallat
Kardiogramm'' in the background.
2007-04-29enforce -Wdeclaration-after-statement by handTheo de Raadt
2007-04-29machdep.led_blink sysctl for landisk, also move cpu_sysctl() code and relatedMiod Vallat
variables from arch/sh/ to arch/landisk/. ok deraadt@
2007-04-29The cpu clock frequency we get from ARCBIOS may be off by something in theMark Kettenis
order of 1%. So calibrate the CP0 timecounter frequency using the TOD clock if we have one. "looks like good stuff" deraadt@, also tested by jsg@
2007-04-29Change the loop test in uvm_km_kmemalloc from '<' to '!='. EverythingArtur Grabowski
is aligned just fine and in case we allocate the last piece of the address space we don't want wrap-around to cause us to fail. pointed out by and ok miod@
2007-04-29Nadav 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-29clocks and pll register bitsDavid Gwynne
2007-04-29we dont want to completely fill fifos, so leave a gap when we calculateDavid Gwynne
how much of the fifo we want to write firmware to. from Nadav Shemer at Tehuti Networks
2007-04-29when we post a fifo we're giving the dma mem back to the hardware, so weDavid Gwynne
need a presync, not a postsync. another good find by Nadav Shemer at Tehuti Networks
2007-04-29when 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-29Match on ATI IXP/SB600 as well.Jonathan Gray
Seen in a dmesg from alemao <skanabiz@gmail.com> ok grange@
2007-04-29Match on VT8237A/VT8251/CX700 like the equivalent Linux driver does.Jonathan Gray
ok kettenis@