summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2001-07-04Embedding newlines in strings is a bad idea, and prints out badly.Marc Espie
Okay millert@, like previous commit.
2001-07-04case labels without statements are not permitted by ANSI C... and gcc 3.0Marc Espie
warns about them.
2001-07-04$OpenBSD$Niklas Hallqvist
2001-07-04Use the right target when checking for out of bounds.Niklas Hallqvist
2001-07-04Use the right target when checking for out of bounds.Niklas Hallqvist
2001-07-02these don't depend on pci register defsJason Wright
2001-06-27ALTQ'ify network drivers.Kenjiro Cho
- use the new queue macros. - use IFQ_POLL() to peek at the next packet. - use IFQ_IS_EMPTY() for empty check. - drivers should always check if (m == NULL) after IFQ_DEQUEUE(), since it could return NULL even when IFQ_IS_EMPTY() is FALSE under rate-limiting. - drivers are supposed to call if_start from tx complete interrupts (in order to trigger the next dequeue under rate-limiting).
2001-06-27recieve -> receiveNathan Binkert
2001-06-27zap old vmArtur Grabowski
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