summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
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
2000-06-12move cfdriver to ncr53c9x.c and device declaration to conf/files.Federico G. Schwindt
2000-06-11apparently in order to write to config registers 1-3 you need to enable itFederico G. Schwindt
first, so do it. also set the default media based on what's on the regs >from NetBSD. Someone with one of these please test the changes.
2000-06-03remove fxp_ether_ioctl(), and move it's processing to fxp_ioctl().Jason Wright
2000-05-30sti hp graphics, available in pci and hp-prop sgc bus form factors.Michael Shalayeff
attach point for wsdisplay. a few problems may exist w/ certain prom versions. tested in byte- and word-wide modes. no support yet for multiple resolutions and fonts. pci not tested (obviously).
2000-05-30a few more codes ids from vendor docsMichael Shalayeff
2000-05-30Changes from NetBSD:Federico G. Schwindt
* support for ax88190 * set the memory size based on the ne2k type, changing the number of transmit buffers. * make ne2000_attach return some value so it can be used in pcmcia. * move code for dl10019 to the pcmcia part.
2000-05-29Support for 3c574 and 3CCFEM556BI PCMCIA Ethernet; from NetBSD.Aaron Campbell
2000-05-29preparing for AX88190 support; from NetBSD.Federico G. Schwindt
2000-05-27add a few more codecsMichael Shalayeff
2000-05-15driver for the databook isa/pcmcia bridge (commented out in GENERIC for now);Jason Wright
from NetBSD.
2000-04-29add $ tagKenneth R Westerback
2000-04-29add $ tagKenneth R Westerback
2000-04-29add $ tagKenneth R Westerback
2000-04-29add $ tagKenneth R Westerback
2000-04-27WhoopsChris Cappuccio
2000-04-27Remove mtu cruftChris Cappuccio
2000-04-27Fix SIOCSIFMTUChris Cappuccio
2000-04-26Turn on a bit (for 82558/82559 only) which disables the chip'sChris Cappuccio
builin feature to discard frames >1500 bytes (useful for jumbo frames, also 802.1Q VLANs) ok aaron@
2000-04-26we've done an oopsMichael Shalayeff
2000-04-26After the fxp split, sizeof(enaddr) is now 4, not 6, since enaddr is a pointerAaron Campbell
that's passed in from the bus-dependent parts. Use ETHER_ADDR_LEN so we get the whole thing; sigh@kuzirabekon.econ.nagasaki-u.ac.jp
2000-04-26dc_csid ain't needed no more; jason@ okMichael Shalayeff
2000-04-19Remove NetBSD ifdefs here too.Federico G. Schwindt
2000-04-19Remove NetBSD ifdefs.Federico G. Schwindt
2000-04-19* use different numbers of transmit buffers depending on the memoryFederico G. Schwindt
size (not working yet), useful for 100mbit cards. * add some diagnostic messages * compute the xmit buffer length w/o taking crc length in count * when SIOCSIFFLAGS is issued and none of the above conditions match, check for IFF_UP rather than sc_enabled.
2000-04-19indent.Federico G. Schwindt
2000-04-19Fix a bug introduced after cardbus commit where uart16550a wasFederico G. Schwindt
being detected as uart16450 as side effect. This also corrects the posibility of misdetection of vadem controllers.
2000-04-18split dc driver into bus dependent and bus independent (pci) partsJason Wright
(cardbus to come later).