summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-08-17Calculate time_t correctly from (day, month, year): 1/1/70 is 0, not 1.Tom Cosgrove
ok deraadt@
2004-08-16Uninline splraise to save some time and space.Artur Grabowski
deraadt@ ok, tested by many for a long time.
2004-08-16crank wi_cmd_count to 2000 for the time being; should help avoidTodd C. Miller
timeouts on cards with station firmware < 1.8. Better fix coming post-3.6...
2004-08-15gracefully handle FP trapsPer Fogelstrom
2004-08-15castPer Fogelstrom
2004-08-15protect code dealing with the vnode sync list with splbio(). fixes thePedro Martelletto
'fsync failed' panic on amd64. discussed with and ok'd by art@, tedu@ and deraadt@. tested by many (thanks).
2004-08-15undo last commit, skipping over ifaddrs without IFA_ROUTE has unwantedHenning Brauer
sideffects in IPv6 land, noticed by Johan Fredin <griffin@legonet.org>
2004-08-15gas 2.14 have different understanding of 32-64 bit constant cvtPer Fogelstrom
2004-08-15remove LP32 defs not usedPer Fogelstrom
2004-08-15Add back the broken swap. This needs to be checked why it has toPer Fogelstrom
(or not) be there. Meanwhile leave it in.
2004-08-15cleanup and more protosPer Fogelstrom
2004-08-14Add isa vga to amd64 install media kernels. This makes it possible toKenneth R Westerback
use a normal console to install on systems, such as my Tyan S2885, which find the in-built vga in isa land rather than pci land. Completes earlier work by Tom Cosgrove on GENERIC. ok deraadt@
2004-08-14re-enable ahc on pci since mickey is missingTheo de Raadt
2004-08-14bad bad typo + thinko made ktrace broken in smp. ok deraadt@Niklas Hallqvist
2004-08-13Fix issue with auto request sense handling for both ahc and ahd.Kenneth R Westerback
Restore hppa functionality, add sgi functionality for ahc. ok deraadt@, plus marco@, mickey@, pefo@ for various bits.
2004-08-13syncTheo de Raadt
2004-08-13LK204-24-USB LCD; adulau@foo.beTheo de Raadt
2004-08-13add missing copyrightPer Fogelstrom
2004-08-12Leave the command wait interrupt enabled as long as there is at least oneJason Wright
pending result. This isn't a good solution (we're obviously missing an interrupt or two in some cases), but this will guarantee we get called periodically until all of the queues are drained. Based on idea from "jochen from penguin-breeder decimal org"; ok theo
2004-08-12Prevent a panic by validating the super block size as recorded in theOtto Moerbeek
superblock; make the block size check also catch negative values. ok miller@ tedu@
2004-08-12Fix the shared irq problem, by allocating a low priority vectorNiklas Hallqvist
so that the "high" pri interrupt gets blocked by the "low" spl & irq handler, and raise the cpl to the "high" level in the handler, so that no other in fact lower-leveled, interrupts can preempt the handling of the "high" interrupt. This means that the "low" interrupt gets the same quality treatment, thus causing some degradation in performance. Therefore we still issue a diagnostic, so people can try to avoid the situation by tweaking their BIOS settings. Note, there is still issues with dynamically established interrupts which cause irq sharing, we are working on that.
2004-08-11In dkcsumattach() avoid modifying bootdev until we are done matching.Todd C. Miller
Also deal with mixed scsi/ide/whatever setups. Based on a diff from Fred de Jong. OK deraadt@ and tested by several people.
2004-08-11no ecoffPer Fogelstrom
2004-08-11fix microtimePer Fogelstrom
2004-08-11damnitTheo de Raadt
2004-08-11ansiTheo de Raadt
2004-08-11various ansi and spacing issues; pefo okTheo de Raadt
2004-08-11PCIVERBOSE by default (USBVERBOSE comes along for the future ride); pefo okTheo de Raadt
2004-08-11oopsTheo de Raadt
2004-08-11skip over interface addresses without IFA_ROUTE, fixes some issue with pppdHenning Brauer
from Max Laier <max@love2party.net>
2004-08-11a few debug cleanups:David Gwynne
function names in messages didnt always match the actual name of the function. endian fix when dumping a qtd chain so it terminates correctly on big endian archs. dont blame uhci for problems ehci has.
2004-08-11mips64 nowPer Fogelstrom
2004-08-11move to mips64Per Fogelstrom
2004-08-11spacingTheo de Raadt
2004-08-11and this, hehTheo de Raadt
2004-08-11pefo look at this diff closelyTheo de Raadt
2004-08-11$OpenBSD$ - ok pefo@.Xavier Santolaria
2004-08-11fix spelling, macros and formattingDavid Gwynne
2004-08-11Use bus_space_*_multi_*() when applicable; from NetBSD.Miod Vallat
tested by aoyama@
2004-08-11Fix off-by-ones in bus_space_*_multi_*()Miod Vallat
tested by aoyama@
2004-08-11slight KNF and ANSIDavid Gwynne
2004-08-11from netbsd, uhci.c revision 1.175, 1.179, 1.181David Gwynne
log message for 1.175: Tweak a debugging printf(). log message for 1.179: Make one message dependent on ohcidebug, so it doesn't interfere with polled operation; e.g. when entering a root device or in DDB. log message for 1.181: typo in comment
2004-08-11from netbsd, uhci.c revision 1.180David Gwynne
hcpriv is not actually used here. Remove references to it.
2004-08-11from netbsd, uhci.c revision 1.178David Gwynne
Interrupt descriptors might become invalid while being processed in uhci_check_intr - so remember their next pointer before calling it.
2004-08-11from netbsd, uhci.c revision 1.176David Gwynne
Ignore a CRCTO error on a SETUP transaction in combination with STALLED or NAK. This fixes problems with the GL641.
2004-08-11from netbsd-bugs, pr 26547:David Gwynne
Transfers should only be removed if they haven't already completed
2004-08-11Fixes a merge error as well as being from netbsd-bugs, pr 26546:David Gwynne
The cancellation of the timeout in ohci_softintr should predicate on the transfer being the last of the batch
2004-08-11from netbsd-bugs, pr 26545:David Gwynne
It's possible that the ohci interrupt can reach the CPU before the write over PCI. This results in the done head pointer being NULL. If the subsequent read of the interrupt status indicates that an OHCI_WDH has occured then the done pointer should be reread and the pointer nulled.
2004-08-11from netbsd, ohci.c 1.140, 1.143, 1.148, 1.149, 1.150David Gwynne
log message for 1.140: Function names printed in debug messages did not always match the actual name of the function. log message for 1.143: Remove assigned-to but otherwise unused variables. Remove unreachable break after return statements. log message for 1.148: Adjust a couple of comments to make it clear WTF is going on. log message for 1.149: Make one message dependent on ohcidebug, so it doesn't interfere with polled operation; e.g. when entering a root device or in DDB. log message for 1.150: Fix an error in a printf() format.
2004-08-11from netbsd, ohci.c 1.151David Gwynne
Avoid touching the xfer after calling usb_transfer_complete(), as the driver callback may have recycled it. From PR 25960.