summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2000-08-26Revert a minor FreeBSD tweak that tends to freeze my machine solid afterAaron Campbell
large amounts of data transfer (ASIX 88141 card).
2000-08-19MALLOC/FREE -> malloc/free ok art@Nathan Binkert
2000-08-17replace if_awi w/ semi-current netbsd driver; still has problemsMichael Shalayeff
2000-08-08Make fix for preserving LED settings conditional on presence of an IntelAaron Campbell
21143 chip; from FreeBSD.
2000-08-05Use better (working) locking macros around critical regions. ImplementNiklas Hallqvist
SCSI_POLL operations. Implement SYNCHRONIZE_CACHE scsi operation emulation . Do not call busdma operations unless we are really either a READ or WRITE operation.
2000-08-04rest of the work needed for tga2; from NetBSDEric Jackson
2000-08-02Sync with FreeBSD. Summary of changes:Aaron Campbell
- Add support for Accton EN1217 Ethernet adapters. - Fix problems with LEDs on some cards when clearing the jabber disable bit. - Handle new Macronix chips whose multicast hash tables are only 128 bits. - Fix timing issues during autonegotiation with Macronix and PNIC II.
2000-08-02No need to include pci header files here.Aaron Campbell
2000-08-02Don't print out the eeprom width.Aaron Campbell
2000-08-02Add support for accepting packets up to 4 octets larger than thePeter Galbavy
interface MTU IFF vlans are enabled. Additional logic should be added by someone who understand 802.1q to test if this oversize packet is actually a 802.1q encapsulated, and reject others. Fix as per kernel/1328.
2000-08-01forgot these in alpha/wscons upgrade; pointed out by Erik Verbruggen ↵Michael Shalayeff
<ejv@cs.kun.nl>
2000-07-27if avoiding ac97_read because of AC97_HOST_DONT_READ, still permit access to ↵Theo de Raadt
AC97_REG_VENDOR* and AC97_REG_RESET
2000-07-22sync to NetBSD:Kenneth R Westerback
- remove #include <vm/vm_param.h> and #include <vm/pmap.h> as they are already included with #include <vm/vm.h> - more Adv -> Adw, ADV -> ADW adjustments & other minor formatting corrections plus: - put 'Carrier Ready failure!' warning message inside #ifdef ADW_DEBUG/#endif as it appears under heavy load but is nothing but a reminder the card was too busy to notice a 'tickle' from the driver.
2000-07-21convert to new timeoutsMichael Shalayeff
2000-07-21convert to new timeouts; art@ okMichael Shalayeff
2000-07-21Use new timeouts.Artur Grabowski
2000-07-20more guesses at tritech codecsTheo de Raadt
2000-07-20chp->wdc can be NULL on probe.Constantine Sapuntzakis
Propagate verbose flag from cf_data to channel
2000-07-20Convert to new timeouts. (art@ ok)Hakan Olsson
2000-07-20Fix to ATA detect. Some devices seem to be comatose after resetConstantine Sapuntzakis
(return 0x00 status persistently). Send them identify to wake them up. Flag value 0x10000 will enable probe messages for a channel/controller. When UKC supports setting flags, this will be useful debugging failing IDE detects without kernel recompiles.
2000-07-19Added shadow registers. This adds two capabilities:Constantine Sapuntzakis
- support devices that crash when reading CODEC registers - a flags interface was added to the host interface and one flags AC97_HOST_DONT_READ defined. - new API restore_ports restores the user's settings. This can be useful for resume after suspend to disk
2000-07-07Pick up change that went into NetBSD side- I pooched the timeoutmjacob
calculation. Now it's better.
2000-07-06Resync with FreeBSD/NetBSD. Salient features are that the mailbox commandmjacob
routines are not necessarily polled now- this should cut down on some of the spurious lost commands that have occurred. Also, we now watchdog each command and make sure that command constipation doesn't occur (which it has been documented to do on the QLA2100 cards).
2000-07-06printf %sTodd T. Fries
2000-07-03Add support for big endian hardware. Clean up memory vs. io mapping code.Steve Murphree
Fix for drives with Tag quirks.
2000-07-01- Make the 3CCFE575BT work.Aaron Campbell
- Add support for the 3CCFEM656C. - Lots of code cleanup.
2000-06-30Oops, put back this call to spltty(). When our timeout expires and we poll theAaron Campbell
pcic, we don't want to be interrupted by real interrupts generated by the pcic.
2000-06-30Convert some parts to new timeouts.Artur Grabowski
2000-06-29after computing the hash value, inform the card [delete-o from when thisJason Wright
was imported]. Also, backout previous.
2000-06-29Be more detach friendly. In particular, remove the infinite while() loopsAaron Campbell
waiting on S_COMMAND_IN_PROGRESS and replace them with a bounded loop count plus a small delay; from NetBSD.
2000-06-29Sync adw files with (almost) latest NetBSD versions:Kenneth R Westerback
adw.c synched with v1.23 (from v1.14) adw.h v1.9 ( v1.5 ) adwlib.c v1.17 ( v1.7 ) adwlib.h v1.13 ( v1.7 ) adwmcode.c v1.5 ( v1.2 ) adwmcode.h v1.5 ( v1.2 ) microcode for cards is updated to latest version, loss of carrier problems are solved in a more robust manner than before, lots of code cleanup. first support for upcoming U3W cards added, as a result of which the driver is now too large for RAMDISK and has been moved to RAMDISKB. Most of the work done by dante@ NetBSD.
2000-06-28Make suspend -> eject card -> resume work.Aaron Campbell
On suspend, the apm code calls each function in its powerhook list. This list contains pointers to functions that are to be executed on PWR_SUSPEND and PWR_RESUME. One of these functions is pcmcia_power() which calls xxx_activate() for each PC Card that is connected with the action DVACT_ACTIVATE (where xxx is the name of the driver for the PC Card). On resume, the same thing happens, except the action is DVACT_ACTIVATE. Clearly, if a card is gone when we resume, trying to activate it is a bad idea. This commit adds a pcic_power() function that runs before pcmcia_power(). On resume, it uses pcic_intr_socket() to detect any events that occurred while we were suspended. (I had to split pcic_event_thread() into a threaded part and a non-threaded part, since the thread will not run when we are in interrupt context, but I need the events to be processed before pcmcia_power() runs.) So, by the time pcic_power() is through, all events that occurred during suspend have been processed, and pcmcia_power() will not try to activate cards that are not there since they have already been completely and properly detached. Note that event handling for card removals first calls the deactivate functions on the card then the detach functions. When we suspend, apm does the deactivate for us. So on resume, if we detect a card has been removed, we skip the deactivation step and just detach. We use the DVF_ACTIVE bit to determine whether or not deactivation has already occurred. Deactivating a device that has already been deactivated causes a panic.
2000-06-27Move ac97 register defines into ac97.hArtur Grabowski
2000-06-23Implement PCMCIA event polling. This will either complement interrupt-drivenAaron Campbell
event notification from the pcic (if an interrupt is available) or allow the insertion and removal of PCMCIA devices even if there is no IRQ for the pcic. Each socket is checked for status change every 0.5 seconds using art's timeout code. Insertion and removal events should no longer ever go unnoticed.
2000-06-22xl_setmulti_hash() does not work right. tested at usenix2000 term room.Jun-ichiro itojun Hagino
affects 905B only.
2000-06-20allow rx to work after tcpdump; ok art@Todd T. Fries
2000-06-20KNFTodd T. Fries
2000-06-20remove NetBSD ifdefs. indent.Federico G. Schwindt
2000-06-20After bpf_mtap(), in promisc mode, don't drop packets that aren't for us here;Aaron Campbell
that is done in ether_input(); jason@ ok
2000-06-19Insert missing splx(); me and roberto@ns2.freenix.org.Aaron Campbell
Hacking at USENIX 2000 :-)
2000-06-18Initialize the signal quality cache iff ANCACHEThorsten Lockert
Only allow superuser to clear the signal quality cache
2000-06-18Thou shalt not bequeath to mere mortals the ability to change the configurationAaron Campbell
of an Aironet device.
2000-06-18Fix an off-by-one error that caused uvm_fault() whenever changing any an(4)Aaron Campbell
configuration options with ancontrol(8). Now USENIX attendees can use the wireless setup :-)
2000-06-17Add support for AMD 53c974.Federico G. Schwindt
>From NetBSD.
2000-06-16take MIN/MAX from param.h, okay theo@Niels Provos
2000-06-13Fix from Manuel BouyerChris Cappuccio
Don't falsely detect nonexistent drives
2000-06-12remove debugging prom dump, sorryMichael Shalayeff
2000-06-12eeprom width detection code.Michael Shalayeff
idea from netbsd tulip driver. there is problem w/ an983 card, but aaron@ said he'll work it out. aaron@ & jason@ ok.
2000-06-12Fix ADMtek identity crisis.Aaron Campbell
2000-06-12more registers for the upcoming code; NetBSD.Federico G. Schwindt