summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-04-21repair intr establish error printfMichael Shalayeff
2006-04-21the esm_sensor_maps describe esm sensors, not kernel sensors. i have noDavid Gwynne
idea how i got this screwed up. found by lint.
2006-04-21remove duplicate defines. another find by lint.David Gwynne
2006-04-21implement outgoing interrupt pipes, lets my creative voip blaster workJolan Luff
from freebsd, ok dlg@
2006-04-21remove the ami_inquire prototype. the function doesnt exist and its notDavid Gwynne
used anywhere. thanks lint. thint.
2006-04-21recognize the BCM5752 A2Brad Smith
2006-04-21back out my last commit.David Gwynne
art pointed out that timeout_set is the initializer of timeout structs. this means that the ONQUEUE flag could be set when timeout_set is given freshly allocated memory. my commit suddenly introduced the requirement that you bzero a timeout before initialising it. without the bzero we could generate false positives about the timeout being already queued. art did produce a diff that would walk the queues when the flag was set to see if it really was in the lists, but deraadt considers this too much of a hit.
2006-04-20Add a few more devices integrated on nForce4 chipsets.Mark Kettenis
2006-04-20open/close/cdevsw code goes bye bye; ok mbalberTheo de Raadt
2006-04-20add SENSOR_TIMEDELTA sensor; ok dlgTheo de Raadt
2006-04-20Fix various printf() issues: too many arguments, not enough arguments, argumentMiod Vallat
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
2006-04-20Make these compile again.Miod Vallat
2006-04-20printf() calls with the format string spanning several lines should not haveMiod Vallat
trailing commas between string chunks, for this has unexpected effects.
2006-04-20Cast unsigned to signed when you want to check for negative values.Miod Vallat
2006-04-20no longer failure care; ok miodTheo de Raadt
2006-04-20ANSI function declarationsMartin Reindl
prompted by brad@
2006-04-20Remove unused debug code that sneaked in by accident long agoPedro Martelletto
2006-04-20much -> mustPedro Martelletto
2006-04-20marco hates typedefs as much as i do, so he asked me to clean mfi like iDavid Gwynne
just did with ami. this gets rid of the typedef for the ccb lists. also uses TAILQ_FIRST to get ccbs off the freelist. this is a proactive fix for a lint teary.
2006-04-20return after goto wont be reached, so remove it. found by lint.David Gwynne
2006-04-20get rid of the ccb list typedef. while here switch to TAILQ_HEAD insteadDavid Gwynne
of TAILQ_TAIL when pulling ccbs off the free list since it does less "interesting" things with pointers. changes prompted by lint bitching.
2006-04-20remove some useless code found by lint.David Gwynne
2006-04-20- remove the 'needs-flag' from the udcf entry in files.usb and the #ifdef NUDCFMarc Balmer
idom in udcf.c - declare t1 to t7 as static to prevent the risk of name clashes - add two missing function prototypes help and ok miod@
2006-04-20regenBrad Smith
2006-04-20add the Belkin F5D6020 802.11b WLAN card.Brad Smith
2006-04-20this is the proper fix for krws bug. i feel kinda bad taking the commitDavid Gwynne
from him since he did most of the hard work on it. when marco added the sensor for logical disks he added some extra bits to the softc, but inside an #if NBIO > 0 block. NBIO is set by "bio.h" which was included in ami.c, but not in ami_pci.c which is what is actually responsible for getting the softc allocated. because of this the softc in the rest of the system was smaller than what ami.c needed, so technically it was using unallocated memory. in krws case that unallocated space was filled with garbage, hence his panic. the moral of this story is do NOT put #if inside structs that are passed between different source files. its too easy to have this kind of screwup happen.
2006-04-19Get rid of the clock device attachment - since the clock is not somethingMiod Vallat
we can live without, move it into the board-dependent code. This even makes the code slightly smaller. clock.c is moved from dev/ to mvme88k/ and only keeps common variables and delay().
2006-04-19Driver to decode the DCF77 time code using a USB attached Gude ExpertMarc Balmer
mouseCLOCK device; without a mechanism to pass data out. ok deraadt
2006-04-19Count spurious interrupt as part of the alarming interrupt issues as well.Miod Vallat
2006-04-19Better diagnostic messages in the MVME188 interrupt handler; also no needMiod Vallat
to register an interrupt handler for the SYSCON board interrupts anymore, as we never trigger it.
2006-04-19oops. forgot fnclex define (:Michael Shalayeff
2006-04-19from todays freebsd advisory: fxrstor on amd cpu does not restore ↵Michael Shalayeff
fip,fdp,fop thus leaking other proc's execution history; deraadt@ ok
2006-04-19curpcb is long gone and is a #define -- do not declare it global anymore (no ↵Michael Shalayeff
func change)
2006-04-19Remove unused mount list simple_lock() gooPedro Martelletto
2006-04-19wdog_init is only called from wdog_register, so fold them in together.David Gwynne
from mk. ok markus@
2006-04-19move the 82573E_KCS PCI id so it is grouped with the other 82573 ids.Brad Smith
2006-04-19Make sure sc_first_poll is initialized to 0 so sensor_task_threadKenneth R Westerback
doesn't blow up on first call to ami_refresh(). There's probably a better fix, but this stops the crashes while that fix is found. ok dlg@
2006-04-18ANSIfyGordon Willem Klok
ok marco@, dlg@, mickey@
2006-04-18Bring back a kernel_text symbol, config -e needs it.Miod Vallat
2006-04-18if you go timeout_set, timeout_add, and then timeout_set again you canDavid Gwynne
screw up the queues that tie all the timeouts together. this makes us panic if we detect that happening. its a lot easier to debug that the weird side effects of broken timeout queues. ok mickey@ kettenis@ deraadt@ pedro@
2006-04-18- establish interrupt after all dma resouces are successfully allocatedMartin Reindl
- wrap an assertion with #ifdef DIAGNOSTIC - call bus_dmamap_sync for mdldmap at POSTWRITE for consistency - pass proper dmamapsize for mdldmap - Call bus_space_{read,write}_1() directly to access ncr53c9x common registers - Unload xfer dmamap in pscsp_dma_stop() - Free resources if attach fails From NetBSD
2006-04-18add a few more Intel Gig PCI ids.Brad Smith
Some of these are from jason@ and the rest are from the Linux PCI ids page.
2006-04-18Make output in sysctl pretier.Marco Peereboom
2006-04-18regenBrad Smith
2006-04-18add a few more Intel Gig PCI ids.Brad Smith
Some of these are from jason@ and the rest are from the Linux PCI ids page.
2006-04-18If mpbios doesn't specify a valid CPU signature, fall back on informationMark Kettenis
from the boot processor. ok mpf@, mickey@
2006-04-18Make sure we print crucial debug information before we panic.Mark Kettenis
Stolen from mpf@ ok mpf@, mickey@
2006-04-18It helps to initialize a queue before usage.Marco Peereboom
2006-04-18set the params that govern watchdog behaviour back to defaults when theDavid Gwynne
wdog is shut down. from mk. ok markus@
2006-04-18Oops, correct import this time.Miod Vallat