summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-07-08Move carp_output() call to after mcopy of MAC address so the virtual addressRyan Thomas McBride
does not get overwritten. Report and fix from Chris Pascoe.
2004-07-08enclose some MP-only things in #ifdef MULTIPROCESSORDavid Krause
ok deraadt@ niklas@; testing by pvalchev@
2004-07-08nforce3; downsjTheo de Raadt
2004-07-07new-style interrupt counters. based on initial work by hugh. ok miodTheo de Raadt
2004-07-07Funny typo.Miod Vallat
2004-07-07Only drain the transmit queue if we are idling the transmit section.Todd C. Miller
From NetBSD (dyoung)
2004-07-07After we wait for the MAC's transmit section to idle, drain theTodd C. Miller
transmit queue and cancel the watchdog timer. Fixes the annoying "atw0: transmit timeout" messages. From NetBSD (dyoung)
2004-07-07Check for ATW_C_BBPTYPE_RFMD in switch statement (not currently supported).Todd C. Miller
From NetBSD (dyoung)
2004-07-07The ADM8211C uses a different BBP type-number for RFMD parts thanTodd C. Miller
the original ADM8211. From NetBSD (dyoung)
2004-07-07Fix typo: change ATW_RFTYPE_RFMD and family to ATW_BBPTYPE_RFMD.Todd C. Miller
This does not make any functional difference: each manufacturer's RF type-number is the same as its BBP type-number. From NetBSD (dyoung)
2004-07-07use the do { .. } while(0) wrapperTheo de Raadt
2004-07-07fix an issue when scripts are exec'd under systrace wheremarius eriksen
the argv[0] would be normalized, and hence break scripts that depend on how they were called. this fixes an issue in the ports builds. ok provos@ deraadt@; lots of testing during hackathon sturm@ naddy@
2004-07-07skip wdc at isa on media; idea from miodTheo de Raadt
2004-07-07a bit more silence during bus handovers; loki@animata.netTheo de Raadt
2004-07-07silence somethingTheo de Raadt
2004-07-07copyright dates sync; loki@animata.netTheo de Raadt
2004-07-07Changes EHCI_QTD_TOGGLE to EHCI_QTD_TOGGLE_MASK; loki@animata.netTheo de Raadt
2004-07-06assert is dumb dumb dumb; no objection from miodTheo de Raadt
2004-07-06use MALLOC/FREE for fixed size buffer allocationsMichael Shalayeff
2004-07-06only pull in a.out stuff if COMPAT_SUNOSTheo de Raadt
2004-07-06backout rev 1.3, it breaks simultaneous close (no FIN set for retransmits)Markus Friedl
ok deraadt, henning, itojun
2004-07-06regenBrad Smith
2004-07-06add Planex and Corega EthernetBrad Smith
2004-07-06from netbsd, via loki@animata.net: revision 1.62. Log message:Theo de Raadt
Fix an error in a debug printf().
2004-07-06sent in by loki@animata.net: This includes all the changes from netbsdTheo de Raadt
related to working with the data toggle, but also includes some endian fixes. The major changes in the netbsd code were in revisions 1.55 and 1.64. their log messages are: 1.55: Set the data toggle correctly, and use EHCI_QTD_DTC. This fixes problems with my ALi-based drive enclosure (it works now, rather than failing to attach). Also seems to work with a GL811-based enclosure and an ASUS enclosure with a CD-RW, on both Intel and NEC controllers. Note: The ALi enclosure is currently very SLOW, due to some issue with taking too long to notice that the QTD is complete. This requires more investigation. 1.64: Further cleanup of toggle handling. Now that we use EHCI_QH_DTC, we don't need to fiddle with the TOGGLE bit in the overlay descriptor, so minimize how much we fuss with it.
2004-07-06from netbsd, via loki@animata.net, ehci.c revision 1.58 without someTheo de Raadt
printfs that are more related to the data toggle. log message: Fix a stupid bug in ehci_check_intr() that caused use to try to complete a transaction that was still running. Now ehci can handle multiple devices being active at once.
2004-07-06from netbsd, via loki@animata.net, ehci.c revision 1.56 sans some debuggingTheo de Raadt
printfs that crept in. log message: 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-07-06Replace magic number with a more descriptive #define. This magic number wasAaron Campbell
particularly vile because it looks like a typo (i.e., looks like one "f" is missing), but it's really not. I happened to notice this myself, but the fix is inspired by NetBSD in the interest of keeping the code similar. deraadt@ ok
2004-07-05Allocate buffers in randomread and randomwrite via malloc insteadTodd C. Miller
of from the stack. Keeps us from running out of kernel stack during stack-heavy networking load. The bug manifests as a panic during bootup with an fpu-related assertion failure on i386. Fix from Christopher Pascoe; commit requested by deraadt@
2004-07-05remove some stuff to make the blocks slightly smaller. we could go furtherTheo de Raadt
still. tested by matthieu
2004-07-05clean & knfTheo de Raadt
2004-07-05do not queue events when no daemon running. flush all events on last close.Theo de Raadt
ok tedu
2004-07-05sync various changes in old_identifycpu() into identifycpu()David Krause
first step toward merging these two functions ok deraadt@
2004-07-05Completes the structs for the isochronous and split transactionTheo de Raadt
isochronous transfer descriptor types. Also updates the doco link at the top of the file; from netbsd; via loki@animata.net
2004-07-05Adds missing port routing rules field, fixes an incorrect offset forTheo de Raadt
EHCI_QH_GET_CTL and adds a macro for setting the data toggle on a qtd token; from netbsd; via loki@animata.net
2004-07-05This fixes a couple of spelling errors (EHCI_HCS_P_INCICATOR toTheo de Raadt
EHCI_HCS_P_INDICATOR and EHCI_QG_MPLMASK to EHCI_QH_MPLMASK); from netbsd; via, loki@animata.net
2004-07-05KNFHenning Brauer
2004-07-04syncTheo de Raadt
2004-07-04shrink, shrink, shrinkTheo de Raadt
2004-07-04- two typos, stallen -> stolenBrad Smith
- cast base correctly for format string From NetBSD ok deraadt@
2004-07-04sis rev 0x91 seeprom support to get eaddr; from fgschTheo de Raadt
we supplied 10 soekris boxes to 10 openbsd developers, and these all have some variety or other of sis ethernet. not ONE of them commented about this diff when it was mailed out. how very sad.
2004-07-04remove the half-baked and bogus pfi_dynamic_drivers() which tries to guessHenning Brauer
which drivers are hotpluggable. since we removed the stupid check from pfctl a few days ago nothing relies on this any more. ok pb@ mcbride@
2004-07-04fix a NetBSDism and a pasto left over from the import; ok millert@Christian Weisgerber
2004-07-04re fits on this floppyTheo de Raadt
2004-07-04proc_stop needs sched_lock locked. From art, verified with NetBSD.Niklas Hallqvist
2004-07-04syncTheo de Raadt
2004-07-04two hp netserver LH 3 devicesTheo de Raadt
2004-07-04turn off _KERN_DO_ECOFF unless COMPAT_OSF1 is enabled. This shrinks theTheo de Raadt
ramdisks, too.
2004-07-03Check return value instead of uninitialized variable.Mark Kettenis
ok deraadt@
2004-07-03sigh, not yetTheo de Raadt