summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-10-16make ukphy dmesg attach print on one line.Brad Smith
2005-10-16Turn /k2-sata-root into T_BUS; makes us recognize the bootpath of internalMark Kettenis
disks on G5 systems with K2 SATA. ok deraadt@
2005-10-16Allow PCI_INTERRUPT_PIN_NONE for the interrupt pin.Mark Kettenis
HyperTransport delivers interrupts via messages and does not define any interrupt pins. (The documentation even warns that some operating systems will not function correctly without a non-zero value in its Interrupt Pin configuration space register.) ok deraadt@
2005-10-16Add SError register offset, and a tiny cosmetics in nestedAlexander Yurchenko
inclusion protection.
2005-10-16ServerWorks SATAMark Kettenis
ok deraadt@, grange@
2005-10-16Don't pound UNIT ATTENTION retries in as fast as possible. If we areKenneth R Westerback
going to retry the command, pause for a second to let the condition clear. Just as we do for certain NOT READY conditions. Found with the help of, and fixes Ed Wandasiewicz's IBM USB Memory key. ok deraadt@
2005-10-16While in em_process_receive_interrupts() processing the packet em_init()Brad Smith
may be called (either from em_watchdog() from softclock interrupt or from ifconfig). em_init() resets the card, in particular it sets sc->next_rx_desc_to_check to 0 and resets hardware RX Head and Tail descriptor pointers. The loop in em_process_receive_interrupts() does not expect these things to change, and a mess may result. >From glebius FreeBSD ok krw@
2005-10-16better diagnostic on tx error.Federico G. Schwindt
2005-10-16print the hardware irq number, not the bogus internal number for 'vmstat -i'Dale Rahn
2005-10-15add 2 new Yukon PCI ids and recognize Yukon-2 EC Ultra ASIC.Brad Smith
2005-10-15update Via and 3Com ids.Brad Smith
2005-10-15regenBrad Smith
2005-10-15- add new vendor ids for Pacific Data and Vitesse Semiconductor.Brad Smith
- change 3Com GIG to 3Com 3c940B. - add SATA controllers from Acer Labs, Marvell, NVidia, Pacific Data, Via, and Vitesse. - add and update wireless ids from Marvell.
2005-10-15Fall back on OF to reboot/power down.Mark Kettenis
commit drahn@
2005-10-15Eliminate unnecessary bzero() by only writing valid information.Kenneth R Westerback
Eliminate separate check/break from for() loop. No functional change. ok deraadt@
2005-10-15regenBrad Smith
2005-10-15more Marvell Yukon PCI ids.Brad Smith
From: Linux sk98lin driver
2005-10-15- merge adb_direct.h bits into adbvar.hMartin Reindl
- rename ADB_HW_PB to ADB_HW_PMU from NetBSD ok brad@; additonal testing krw@
2005-10-15- put spl's right in the code and remove the macrosBrad Smith
- remove splassert()'s - remove empty bus_dma_tag_destroy macro from code and header
2005-10-15regenBrad Smith
2005-10-15Tweak names and add entries to the RCC (ServerWorks/Broadcom) PCI ids.Brad Smith
Based on Linux's pci.ids and sata_svw.c
2005-10-15sort PCI idsBrad Smith
2005-10-15remove `workaround' for supported data rates now that core is fixed.Federico G. Schwindt
ifconfig -m shows the correct rates now. tested by joris@, deraadt@ go ahead.
2005-10-15correctly parse the supported data rates. needed by wi@usb.Federico G. Schwindt
tested by jsg@ and joris@, deraadt@ go ahead.
2005-10-15spl values are int; evol@online.ptt.ruTheo de Raadt
2005-10-14Eliminate uneeded variable 'i' and use under utilized 'data_track'Kenneth R Westerback
instead. ok deraadt@
2005-10-14no functional change here, just moving the stripping of theBrad Smith
FCS into the SIS_RXBYTES() macro. As done in the FreeBSD sis driver.
2005-10-14only print warning message in bge_stop_block() if debug is enabled.Brad Smith
2005-10-14sprinkle some ANSI and KNF and remove an empty useless function.Brad Smith
2005-10-14Fixup some mnemonics, code was correct, stupid assembler doesn't typeDale Rahn
check closely...
2005-10-14avoid silly static variables that even caused nesting issues,Brad Smith
not to mention reentrancy concerns. From christos NetBSD ok deraadt@
2005-10-14bye bye more compile time knobs, use the sysctl to enable v6 forwarding.Brad Smith
ok deraadt@
2005-10-14shuffle these structs up to the top.Brad Smith
2005-10-13pump up the high water mark on the dirhash pool to avoid page allocation ↵Michael Shalayeff
throttling; pedro@ ok
2005-10-13Merge <machine/cpu_number.h> into <machine/cpu.h>, preparing for intrusiveMiod Vallat
changes.
2005-10-13Hide more definitions from userland and from locore.Miod Vallat
2005-10-13Put the register clobbering constraints on the BUG trap instruction,Miod Vallat
not the first ldcr; hopefully gcc did not dare optimizing too much around here, so this should not change anything in practice. test martin@
2005-10-13be sure to always set fifolen to at least 1 and if the code probes a 0 byteFederico G. Schwindt
fifo (ie., a 16450 misdetected as 16550a) the HW_FIFO bit is disabled. reported and ok by miod@. work with him.
2005-10-13In realitexpire(), do not re-add the itimer timeout if the process is inAaron Campbell
the midst of exiting. This solves a race condition that causes freed memory to be left referenced in the master kernel timeout worklist, leading to a uvm_fault. The same race condition was already fixed earlier in r1.53 of kern_clock.c for the process virtual and profile timeout structs. deraadt@ ok, testing by krw@
2005-10-13Over the years, different UARTs have appeared in the market.Federico G. Schwindt
Unfortunately most vendors implement hidden bits/features and ships with buggy buffers. This is our first attempt to fix this. Test the fifo size by putting the fifo into loopback mode and reading back what we wrote. It seems to be very much accurate and has correctly identified several buggy UARTs. Commented out for now. Tested by several people with different hardware, many thanks. Idea from Theo, code by myself.
2005-10-13first thing found by the fifo tester; pxa2x0 uarts are actually 64 bytesFederico G. Schwindt
deep. ok by uwe@ who confirmed this against specs.
2005-10-13sync multicast code with the FreeBSD sis driver.Brad Smith
2005-10-12have sis strip off the Ethernet FCS before passing it to bpf.Brad Smith
ok fgsch@
2005-10-12Define IPL_SCHED and spslsched(), matching the statclock level.Miod Vallat
2005-10-12regenBrad Smith
2005-10-12add Radeon X600 (RV380), Radeon 9550 and Radeon Mobility M300 M22Brad Smith
2005-10-12Kill unused global variable.Miod Vallat
2005-10-12Move sigcode to the m88k-agnostic location. No functional change.Miod Vallat
2005-10-12Remove commented out dead wrong FPU handling code in setregs().Miod Vallat
2005-10-12regenMichael Shalayeff