summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2001-06-27Hold on to m0->m_pkthdr.len (just being pendantic)Angelos D. Keromytis
2001-06-27Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, dependingAngelos D. Keromytis
on how macros should be treated. Code by fgsch@, ok by me and itojun@
2001-06-27Pastos from the inceptionNiklas Hallqvist
2001-06-25Revert change to using sc_link in calls to siop_print_info().Kenneth R Westerback
sc_link->device_softc not necessarily available for devices like cd's that don't issue SCSI commands after INQUIRY during probe, leaving negotiation triggering to next LUN. Spotted by Nikolay Sturm. Fixing this is not worth the effort and added complexity for a cosmetic improvement. Keep code cleanups done at the same time, and add a typo fix (destiation -> destination).
2001-06-25remove struct and contsts duplicated in between the files.Michael Shalayeff
make it work on powerpc. improve performance by using the bus_*_multi_* finctions instead of loops.
2001-06-25Fix this right this time. ugh.Dale Rahn
2001-06-25remove unused variable.Dale Rahn
Cleanup as suggested by millert@
2001-06-25Fix excessive resets and device probes by storing IDENTIFY results in theConstantine Sapuntzakis
drvp structure
2001-06-25Add the missing endian pieces to wavelan driver.Dale Rahn
ok, millert@
2001-06-25partial endianess fixesMichael Shalayeff
2001-06-24Spelling ifdef correctly is not enough, you have to spell the conditionnalMiod Vallat
correctly, too...
2001-06-24Remove an over-optimization from the polling loop of siop_scsicmd(),Kenneth R Westerback
i.e. calling siop_print_info() immediately for async devices. With the change to use xs->sc_link as parameter to siop_print_info() this immediate call wouldn't work as the sc_link is not initialized until AFTER the return from processing the INQUIRY command. So, just use the default negotiation logic which is triggered by the next command to be handled.
2001-06-24remove cold.Federico G. Schwindt
2001-06-24remove cold.Federico G. Schwindt
2001-06-24move extern int cold to .hFederico G. Schwindt
2001-06-24ether_input_mbuf().Federico G. Schwindt
2001-06-24Pass the device's scsi_link to siop_print_info(), instead of theKenneth R Westerback
adapter's siop_softc. This allows easy access to the dv_xname of the device whose negotiation results are being reported. This makes boot probe and subsequent log messages clearer. e.g. message will now read sd0: negotiated tagged 16 bit 20 MHz 16 REQ/ACK offset xfers instead of siop0: target 0 now using tagged 16 bit 20 MHz 16 REQ/ACK offset xfers Clean up siop_print_info() a bit as long as we are there.
2001-06-24Add back stuff I removed in previous commit with a minor change.Federico G. Schwindt
2001-06-24damn, correctly spell ifdef.Federico G. Schwindt
2001-06-24OpenBSD tag.Federico G. Schwindt
2001-06-24better.Federico G. Schwindt
2001-06-23use ether_input_mbufMichael Shalayeff
2001-06-23ether_input_mbuf().Federico G. Schwindt
2001-06-23make use of ether_input_mbuf, easyMichael Shalayeff
2001-06-23ether_input_mbuf().Federico G. Schwindt
2001-06-23Use ether_input_mbuf instead.Federico G. Schwindt
2001-06-23More constants cleaning.Federico G. Schwindt
2001-06-23Remove repeated ethernet constants; use if_ether.h for it instead.Federico G. Schwindt
2001-06-20fix array filling; alaric@MIT.EDUTheo de Raadt
2001-06-17Set the delta for the particular source so telling mixerctl to decrease theMichael Shalayeff
volume (using --) adjusts it far enough to stick. from Eric Haszlakiewicz <erh@netbsd.org>
2001-06-16simplify; commiting at aazubel's place.Federico G. Schwindt
2001-06-13From NetBSD, 82562 requires a nop before a resume (tested by mickey)Jason Wright
2001-06-12Make pci_mapreg_map take an extra argument where we canNiklas Hallqvist
put a size limitation of the PCI region to map. That makes the PERC 3/Di raid controller usable, as it publishes too much PCI memory for us to map in the kernel virtual memory. As we only access the first 256 byte it is of no use to map 128MB of kvm.
2001-06-11Bail out of wi_attach() if the ether addr cannot be read from theTodd C. Miller
card. This is useful for PCI adapters where the card is not actually present. Also check some more wi_read_record() calls and try to deal sanely (avoid using uninitialized data).
2001-06-11For PCI attachments print the CIS strings since otherwise all we haveTodd C. Miller
is info on the PCI -> PCMCIA dumb bridge and not the card itself.
2001-06-10inconsistantly redundant returnsMichael Shalayeff
2001-06-10In wi_cmd() wait for the busy bit to clear; from NetBSD (ichiro)Todd C. Miller
2001-06-09Updates from NetBSD:Todd C. Miller
o Endian fixes o Missing WI_RID_AUTH_CNTL and WI_RID_MICROWAVE_OVEN bits o Move promisc mode setting to be before prism2 detect since some prism2 firmware revs need to have promisc to support WEP and it is useless to set promisc and then clear it again. o Add missing clear of ifp->if_timer when IFF_OACTIVE is cleared
2001-06-09Print firmware version for Lucent as well as Prism2 and break intoTodd C. Miller
two lines for readability. In practice this doesn't take an extra line on the screen.
2001-06-07Kill #define duplicates between if_wireg.h and if_wi_ieee.hTodd C. Miller
2001-06-07remove extra space before ether address for Lucent wi boardsTodd C. Miller
2001-06-07no, definately *wi.* does not work hereMichael Shalayeff
2001-06-07missed from last ci, all is from netbsd of courseMichael Shalayeff
2001-06-07probe prism2 chips based on the probed card id, not cisMichael Shalayeff
2001-06-06We now disable interrupts in the bus-specific attach routine.Todd C. Miller
2001-06-06PCI shim for if_wi.c as promised. Magic for setting the PLX upTodd C. Miller
correctly take from the FreeBSD driver and explained by imp@ Currently this is hard-coded for PrismII cards but that will change when the PrismII auto-detect code is added to if_wi.c. Tested with a LinkSys WPC11 in a Global Sun GL24110P02 (aka LinSys WDT11)
2001-06-06Don't forget to make it compile.Angelos D. Keromytis
2001-06-05Don't forget to init b_dep.Artur Grabowski
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