summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2001-05-27Put back the fix for the possible leak and fix another bugArtur Grabowski
that the fix uncovered. The tx descriptors were not initialized when allocated. The initialization was done in fxp_init, but the first thing fxp_init does is to call fxp_stop and fxp_stop expects the tx descriptors to be already initialized. How did this ever work?
2001-05-26remove code which was obviously not tested. begone, sloppy code monkeysTheo de Raadt
2001-05-26Use m_tag_init() to initialize new mbuf m_pkthdr fields, rather thanAngelos D. Keromytis
having to change it every time.
2001-05-24When releasing the tx buffers, walk through all of them, don't abort whenArtur Grabowski
we find a descriptor with mb_head == NULL. It happens sometimes that we have NOPs in the tx chains and normal buffers after the NOP.
2001-05-24typoArtur Grabowski
2001-05-22Initialize packet tag -- this has probably been causing panics forAngelos D. Keromytis
people with ep cards.
2001-05-22support for D-Link DFE-530TX and DFE-530TX+; from Maxim Tsyplakov ↵Michael Shalayeff
<tm@oganer.net>
2001-05-18stupidous debug was left enabledMichael Shalayeff
2001-05-17Implement pcic_delay, it uses tsleep for large delays to avoidFederico G. Schwindt
momentary freezes. deraadt@ ok. Thanks to millert@ and mickey@.
2001-05-17It's Daylight Saving Time, not Savings. Fix comments.Peter Valchev
Discussed with pjanzen@
2001-05-16add surrond, center and lfe ports (per 2.2 spec).Michael Shalayeff
provide set_rate function, per 2.2 spec.
2001-05-16define power register bitsMichael Shalayeff
2001-05-16allocate memory w/ NOWAIT during autoconf time and check for NULL returnMichael Shalayeff
2001-05-16allocate memory w/ NOWAIT during autoconf time and check for NULL returnMichael Shalayeff
2001-05-16call malloc w/ NOWAIT and check for NULL returnMichael Shalayeff
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-05-16shorten by one byte :-)Theo de Raadt
2001-05-16split codec vendor/product into separate tables,Michael Shalayeff
provide meaning for codec revision. some other size improvelances.
2001-05-16more regs from 2.2 version of specsMichael Shalayeff
2001-05-15partial KNFTheo de Raadt
2001-05-15a few more codecs, a few more consts, trailing spacesMichael Shalayeff
2001-05-15Split wi(4) into bus-dependent and bus-independent bits similar toTodd C. Miller
an(4) -- no real code changes at this point. Rename if_wavelan_ieee.h to if_wi_ieee.h while I'm at it and create an if_wivar.h similar to NetBSD. PCI adaptors exist that are not true PCMCIA controllers so wi(4) @ PCI is possible (though the code is not working yet ;-).
2001-05-10dmamem_unmap the memory before dmamem_freeig it.Michael Shalayeff
only affects unaligned transfers (such as disklabel, fsck and dump). we used to get away w/ this due to older pmap, uvm or both. be more precise w/ double-buffer on command failure as well. once at it, allow more than 1 segment for double-buffer to be allocated. also fix a couple of endianesses and command timeouts.
2001-05-08inplement screen burner in screenblank(1) style (no program though).Michael Shalayeff
disabled by default, also supports vsync blanking, disabled by default. aaron@ looked at it a while back and i fixed problems he had indicated.
2001-05-08support a hook for vga_pci-based ioctls; aaron@ ookMichael Shalayeff
2001-05-05left out the debugging enabled; from ian@Michael Shalayeff
2001-05-01Add a 250ms wait in attach if ATAPI drives present on channel. SomeConstantine Sapuntzakis
ATAPI devices need a while to boot their firmware, esp. if there is a CD in the drive. Sending them commands early causes them to wedge or abort those commands.
2001-05-01constify some arraysMichael Shalayeff
2001-04-30Move ATA IOCTL commands to low-level WDC driverConstantine Sapuntzakis
2001-04-30Added ATAPI_DEVICE_RESET commandConstantine Sapuntzakis
2001-04-30rework scsi stuff a bit, better locking.Michael Shalayeff
still concurrent commands get busted, for some reason, for tihs reason we lock to1 command at a time for now. prev commit toamivar.h was a homeless -m.
2001-04-30ami.cMichael Shalayeff
2001-04-30padnessMichael Shalayeff
2001-04-29a few more aen definitions, from freebsdMichael Shalayeff
2001-04-24missing splx, found by art, not yet tested by smurph, but he has run out of timeTheo de Raadt
2001-04-23Clean up supposedly 'impossible' case in siop_intr() soKenneth R Westerback
a) meaningful but not voluminous debug info is printed and clearly associated with the offending siop bus. b) instead of panic'ing, reset the scsi bus and return. This problem was only seen under heavy load on powerpc. Plus fix one typo (exeption -> exception). ok deraadt@
2001-04-23Insert missing DvcLeaveCritial() (a.k.a. splx()) before a return.Kenneth R Westerback
Spotted by fgsch@.
2001-04-23double splxArtur Grabowski
2001-04-23double splx in error path.Artur Grabowski
2001-04-21Add $OpenBSD$ tags.Aaron Campbell
2001-04-20Instead of initializing the colormap to me black & white, initialize theNathan Binkert
colormap to use ansi colors. This makes alpha kernel messages come out in color during boot, and it allows console users to get ansi colors. ok deraadt@
2001-04-17No colon after "address" when printing out Ethernet address.Aaron Campbell
2001-04-17Implement cnbell(), an optional entrypoint that rings the console bell; fromAaron Campbell
NetBSD. deraadt@ ok
2001-04-16incorrect return value from ami_intrTheo de Raadt
2001-04-16Avoid resetting the interface when not needed; allows temporary WEP keysThorsten Lockert
to work. ALso optimize some interactions with the card. Fixes rest of PR 1754; ok deraadt@
2001-04-15anotherTheo de Raadt
2001-04-15Support U160 on 53c1010 chips.Kenneth R Westerback
Add support for PPR negotiations and DT transfers, and the preservation and restoration of the SCNTL4 register which controls Ultra3 transfers. Redo sync lookup, since the same period factor can mean two things depending on whether you are using DT or ST. Keep a minimum allowed ST period factor, and a minimum allowd DT period factor for each adapter. Currently NO support for QAS or IUS or AIP.
2001-04-14Kernel support for console mouse functionality which will be controlled byAaron Campbell
the wsmoused daemon (replacement for moused which was used with PCVT). Adds a "getchar" method to the display drivers which returns the value of the character currently under the cursor (e.g., so it may be inversed). From jbm@. Still needs a bit of cleanup and improvement, especially X cohabitation features. The pointer moves to fast as well. These sorts of issues will be corrected in-tree.
2001-04-14Instead of using KBC_AUXTEST, probe the aux port with KBC_AUXECHO, which isAaron Campbell
what Linux does; from NetBSD. This apparently fixes problems with old chipsets that handle the test command differently, leading to a non-working keyboard. This patch was tested by many people successfully.
2001-04-13Define RL_USEIOSPACE in the PCI bus piece, not the common piece; thanks jason@Aaron Campbell