summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2004-08-17don't forget to set rv to zero on false matchMichael Shalayeff
2004-08-17printf repairTheo de Raadt
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-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-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-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-11fix spelling, macros and formattingDavid Gwynne
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-10regenBrad Smith
2004-08-101000baseTX -> 1000baseTBrad Smith
gigabit -> Gigabit
2004-08-09remove some old stuff and clean up. arc and galileo is gone.Per Fogelstrom
ok mickey@
2004-08-09remove old arc stuff and add sgi support.Per Fogelstrom
ok mickey@
2004-08-09mips/sgi uses same symbol table style setup as sparc64Per Fogelstrom
OK mickey@
2004-08-09update ste(4) with stability and performance fixes fromCan Erkin Acar
FreeBSD if_ste.c revisions 1.28, 1.29, 1.38, 1.43, 1.63, 1.68, 1.70 ok henning@
2004-08-08do not reset the chip (and subsequently the phy) when unnecessary; that is,Brad Smith
for address changes, multicast filter changes, or adjusting promiscuous mode. Fixes resetting the phy for things like start/stopping tcpdump. From NetBSD tested by me, miod@, otto@ and a few others. ok deraadt@
2004-08-06sgi support; from pefo@Michael Shalayeff
2004-08-06Easy one! Remove two redundant assignments.Per Fogelstrom
OK from miod@, millert@, henning@, marcus@ .... :)
2004-08-06add MII_MODEL_AMD_79C875phyPer Fogelstrom
2004-08-06Add support for Am79C875 quad phy.Per Fogelstrom
ok deraadt@
2004-08-06Remove __static inline to make the kernel ~24k smaller on i386 and make the ↵Marco Peereboom
debug sessions bearable. ok krw@ deraadt@
2004-08-05remove some separate per driver constants and useBrad Smith
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate.
2004-08-05compile before you commit damnitTheo de Raadt
2004-08-05use ETHER_MAX_LEN.Brad Smith
ok mickey@
2004-08-05remove some separate per driver constants and useBrad Smith
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate. ok mcbride@ henning@ mickey@
2004-08-05Remove forgotten debug code which does not compile on alpha.Miod Vallat
2004-08-05allocate a cluster on rx after all possible failures had been checked for; ↵Michael Shalayeff
repair sigcache misalignment
2004-08-05attach the compaq w100 and w200. the w100 should work with a bit of work. itDavid Gwynne
is yet to be determined if the w200 has hope or not though from what i've read it should be possible. ok deraadt@
2004-08-04interrupt coalescing on post 82557 chips; from freebsd via Dmitry Bogdan ↵Michael Shalayeff
<dsb@poi.dvo.ru>
2004-08-04Make jumbo frames work.Ryan Thomas McBride
- allocate and manage our own memory for rx packets rather than using mbuf clusters; code for this lifted from if_bge.c - pass the correct size to bus_dmamap_create() ok deraadt@
2004-08-04kill hppa quirk that is not neededMichael Shalayeff
2004-08-04interrupt mitigation bitsMichael Shalayeff
2004-08-04regenDavid Gwynne
2004-08-04Compaq WLAN Multiport W200David Gwynne
ok deraadt@
2004-08-04Fix printing of revision string.Todd C. Miller
2004-08-03Add a MIIF_FORCEANEG flag to be passed to mii_attach. This forces anBrad Smith
autonegotiation to take place if IFM_AUTO is selected in mii_media_set. From NetBSD
2004-08-03microcode for interrupts coalescing on fxp; from intel via freebsdMichael Shalayeff