summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2002-09-23syncTheo de Raadt
2002-09-23another amd usb; henric@attbi.comTheo de Raadt
2002-09-23Don't print extra junk to the consoleNathan Binkert
2002-09-23make the leds blink (on those machines where we have 'em).Michael Shalayeff
simple logic is to light up the led in the intrhook and dim in the heartbeat always, makes a believable impression. upper four bits represent a cpu usage w/in the last Hz/8 made up from the cp_time[] times.
2002-09-22use #ifndef __STRICT_ALIGNMENT instead of #ifdef __i386.Nathan Binkert
recommended by jason
2002-09-22Update ifp->if_opackets correctlyJason Wright
2002-09-21Add support for TBI mode in fiber based cards (heavily inspired by FreeBSD)Nathan Binkert
Clean up debugging printfs Remove some old debugging code that shouldn't be there. More changes from FreeBSD: - ignore alignment problem on x86 platforms and don't copy. - increase receive list to 128 to match transmit - change a bit in the interrupt handling
2002-09-21cleanup, remove registerNathan Binkert
2002-09-19remember: bits is bits and bytes is bytes... use -byte- count for bcopy notJason Wright
bits. Also, the conversion between bits and bytes involves a division by 8 not 2. (The latter pointed out by Francis Cianfrocca <vze32r6m@verizon.net>)
2002-09-18Write the operand registers with the correct endian (fortunately it just meansJason Wright
writing to a different window to swizzle the bytes)
2002-09-17add ad1981a id; from hunter@dg.net.uaMichael Shalayeff
2002-09-17match on ich4; from hunter@dg.net.uaMichael Shalayeff
2002-09-17deal w/ the dma in a special thread to follow the busdma semantics. this ↵Michael Shalayeff
fixes panics on unaligned physio; w/ help and testing from daniel@lucq.org
2002-09-16Resync siop with NetBSD. Make strong effort to minimizeKenneth R Westerback
differences, undoing whitespace, spelling, etc. changes and adopting the NetBSD code instead of equivalent home grown code for PPR negotiation, etc. siop.c 1.21 -> 1.64 siop_common.c 1.12 -> 1.30 siopreg.h 1.7 -> 1.13 siopvar.h 1.13 -> 1.18 siopvar_common.h 1.10 -> 1.21 ncr53cxxx.c 1.5 -> 1.10 siop.ss 1.12 -> 1.17 siop_pci.c 1.8 -> 1.11 siop_pci_common.c 1.6 -> 1.17 siop_pci_common.h 1.2 -> 1.4 Many fixes, add 1010-66 support, restructure things to prepare for addition of esiop, osiop and oosiop drivers. tested on various archs by art@, millert@, wilfried@, jason@, Dan Weeks. ok deraadt@.
2002-09-16Sync (siop device changes).Kenneth R Westerback
2002-09-16Update siop devices to include 1010-66 (66Mhz PCI Ultra3 chip).Kenneth R Westerback
From NetBSD. First step in siop update/resync.
2002-09-15make it at least compile; parts from maurice@amaze.nlTheo de Raadt
2002-09-15Add a license from the author Timo Rossi <trossi@co.jyu.fi>Artur Grabowski
2002-09-15Add missing translations for End, Ins and f11-f12, indent the switch a bitFederico G. Schwindt
as well; miod@ ok.
2002-09-14regenMichael Shalayeff
2002-09-14new intel i2o raids; requested by deraadt@Michael Shalayeff
2002-09-14Various fixes and cleanups in the cy driver.Artur Grabowski
Finally my "Cyclades Cyclom-8Y" works correctly. Cleanups: - no more stupid arrays, we have softc structs, use them. - no more global poll timeout that walks an array, timeouts are now cheap, one poll per softc. - sc_dev.dv_xname is the correct thing to print in diagnostic printfs. - don't have bus-specific code in the generic attach for @#%$! sake, it took 20 seconds to fix (I suspect that the workaround took much more time to write). - spltty, not splhigh. - use pci_mapreg_map, not pci_{io,mem}_find + bus_space_map. - use defines, not magic constants in a few places. - KNF in a few places (much more work needed). Now the interesting parts: - when handling the interrupt, don't just ignore it when the tty is not open. Read and discard the data. If we don't read it, the card will interrupt again and again and again and ... (inspired by NetBSD). - actually enable interrupts on PLX9050 - From FreeBSD: "Work around a PLX9050 bug that causes system lockup in certain systems" deraadt@ ok
2002-09-14syncTheo de Raadt
2002-09-14new intel pci-pci bridgesTheo de Raadt
2002-09-12o break up wi_pci_attach() into device-specific parts for better readabilityTodd C. Miller
o kludge around a problem with Netgear MA301 hanging when booted w/o a card. o better card detection w/ PLX adapters o correct the info in some comments mickey@ OK
2002-09-12- Split out the hardware and software normalization versions of modexp...Jason Wright
I screwed something up when the function was trying to do both and it's much easier to read this way (and heck, even works). - Enable hardware normalization for chips that support it
2002-09-11- On reset, disable hardware normalization for 582x and make sure the chip ↵Jason Wright
is in little endian mode. - since sw normalization is now the only option, simplify normalization handling - remove some leftover #if 0 code
2002-09-10no need for pragma here.Federico G. Schwindt
2002-09-10Set encodings correctly.Jason Wright
2002-09-10Register more wsscreen properties to take advantage of wsemul_sun changes.Jason Wright
2002-09-09Rework the wsemul_sun behaviour, and add color support, from the currentMiod Vallat
wsemul_vt100 code and NetBSD's rcons. Misc cleaning in the process. Use with TERM=rcons-color for color support for now. Tested by jason@ and matthieu@
2002-09-09Add support for audio capture (finally) and fix a bunch of stupid bugs.Jason Wright
2002-09-09Add support of Silicon Image 0680 Ultra ATA/133 Controller.Grigoriy Orlov
Code from NetBSD. Submitted and tested by Jonathon Fletcher <jonathon.fletcher@pobox.com>.
2002-09-09regenGrigoriy Orlov
2002-09-09CMD Technology aka Silicon Image CP0680ATA133Grigoriy Orlov
2002-09-09Correctly printf on attach.Artur Grabowski
2002-09-08Correctly handle keypad '.'/Delete key on sun keyboards.Miod Vallat
2002-09-08no , after last element in a enumTheo de Raadt
2002-09-06Share interrupts nicely. Add tag type.Steve Murphree
2002-09-05Do not print the ASCII_ESC character.Jason Wright
2002-09-05Use the value from AUDIO_CTRL, later to be or'ed with VRM or VRA, notFederico G. Schwindt
AUDIO_ID which contains what the codec supports, and do it only if the codec supports VRM or VRA. discussed with mickey@ a while ago.
2002-09-04don't dereference ecb on default case, it's uninitialized.Federico G. Schwindt
2002-09-04Treat 5822 the same as 5820Jason Wright
2002-09-045801 has no pk or rng supportJason Wright
2002-09-03add support for 5801 and 5802 which appear to be 5805's as far as sw is ↵Jason Wright
concerned
2002-09-03sync, bcom 580[12]Jason Wright
2002-09-03bcom 5801/5802Jason Wright
2002-09-03tyopsJason Wright
2002-09-03sync; bcom 5822Jason Wright
2002-09-03bcom 5822Jason Wright