summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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.
2004-08-11from netbsd, ohci.c 1.150David Gwynne
swap the order that two items are written; possibly fixes a race condition that would affect isoc transfers.
2004-08-11from netbsd, ohci.c 1.142 1.147David Gwynne
log message for 1.142: Fix a done list handling bug which exhibits under high shared interrupt rate and bus traffic. As the interrupt register is read after checking hcca_done_head, there was a small chance of dropping a done list. Ignore OHCI_WDH interrupt bit if hcca_done_head is zero so that OHCI_WDH is processed later. log message for 1.147: Failure to properly mask off UE_DIR_IN from the endpoint address was causing OHCI_ED_FORMAT_ISO and EHCI_QH_HRECL to get set spuriously, causing rather interesting lossage.
2004-08-11from netbsd, ohci.c 1.141David Gwynne
Update actlen even in the case where a TD returns an error -- this is critical for the umass bulk-only STALL case.
2004-08-10Print the newline after vgafb_mapregs(), not before since vgafb_mapregs()Todd C. Miller
may print diagostic messgaes on error. OK henning@.
2004-08-10copyrightsPer Fogelstrom
2004-08-10copyrigthsPer Fogelstrom
2004-08-10zap ECOFFPer Fogelstrom
2004-08-10spacingTheo de Raadt
2004-08-10spacingTheo de Raadt
2004-08-10remove in_pcbnotify, it is no longer used.Markus Friedl
2004-08-10replace in_pcbnotify with in_pcbhashlookup and avoid looping overMarkus Friedl
all connections; ok dhartmei, canacar, mcbride