aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Add code that will download firmware to a Symbol LA4100-series of CFWarner Losh2002-08-033-1/+4533
| | | | | | | | | | | | | | | cards. Since the firmware is hard coded into the kernel, I've made it a kernel option (WI_SYMBOL_FIRMWARE). Note: This only downloads into the RAM of these cards. It doesn't download into FLASH, and is somewhat limited. There needs to be a better way to deal, but this works for now. My Symbol LA4132 CF card works now. Obtained from: NetBSD Notes: svn path=/head/; revision=101245
* While PCI interrupts are shareable, this should not have been committed justWarner Losh2002-08-021-7/+0
| | | | | | | yet. Notes: svn path=/head/; revision=101243
* Modernise the cdevsw WRT to (unused) kqueue.Mark Murray2002-08-021-0/+2
| | | | Notes: svn path=/head/; revision=101219
* Don't set the IFF_PROMISC bit when in hostap mode like the previousWarner Losh2002-08-011-17/+15
| | | | | | | | | commit bogusly did. Instead, don't set PROMSIC in the hardware if we're in hostap mode. This matches more closely what openbsd did as well. Notes: svn path=/head/; revision=101139
* Allow the ahc and ahd drivers to be built as modules. This alsoScott Long2002-08-012-7/+7
| | | | | | | | breaks the ahc driver into a core back-end and pci and eisa front-ends. Notes: svn path=/head/; revision=101131
* Make sure to set both sets of registers which control the RX and TX bufferMike Silbersack2002-07-312-0/+49
| | | | | | | | | | | | | sizes. Previously, the end result was at the mercy of the card's default setting. This change will reduce the number of buffer underruns for some users. PR: kern/37929 Submitted by: Thomas Nystrom <thn@saeab.se> MFC after: 7 days Notes: svn path=/head/; revision=101108
* Byteswap the serial #Søren Schmidt2002-07-311-0/+3
| | | | Notes: svn path=/head/; revision=101102
* Finally first shot at a driver for the Promise SuperTrak SX6000 ATA RAIDSøren Schmidt2002-07-314-0/+1599
| | | | | | | | | | | | | | | | | controller. Some testing has already been done, but its still greenish. RAID's has to be setup via the BIOS on the SuperTrak, but all RAID types are supported by the driver. The SuperTrak rebuilds failed arrays on the fly and supports spare disks etc etc... Add "device pst" to your config file to use. As usual bugsreports, suggestions etc are welcome... Development sponsored by: Advanis Hardware donated by: Promise Inc. Notes: svn path=/head/; revision=101100
* Replace the FOO_DEBUG definitions with USB_DEBUG, and switch theJosef Karthauser2002-07-3123-174/+110
| | | | | | | | | debugging levels to off by default. Now that debug levels can be tweaked by sysctl we don't need to go through hoops to get the different usb parts to produce debug data. Notes: svn path=/head/; revision=101060
* Make this compile with the debugging options switched on.Josef Karthauser2002-07-311-0/+7
| | | | Notes: svn path=/head/; revision=101059
* Wake up Joe! It would help if I included sys/sysctl.h.Josef Karthauser2002-07-311-0/+1
| | | | Notes: svn path=/head/; revision=101058
* Add a sysctl (debug.usb.uhub) for tweaking the uhub debug levels.Josef Karthauser2002-07-311-1/+3
| | | | Notes: svn path=/head/; revision=101055
* Get bored with hard coded debug level variables and introduce a debug.usbJosef Karthauser2002-07-3120-17/+58
| | | | | | | | | sysctl tree for tweaking them real-time. Reviewed by: iedowse Notes: svn path=/head/; revision=101053
* It should be "ucom", not "usio".Josef Karthauser2002-07-311-1/+1
| | | | Notes: svn path=/head/; revision=101033
* RegenJosef Karthauser2002-07-312-2/+37
| | | | Notes: svn path=/head/; revision=101031
* MFNetBSD: uvisor.c (1.14, 1.15)Josef Karthauser2002-07-312-9/+56
| | | | | | | Add support for Palm (M500, M505, M125) and Sony devices (Clie 4.0 and 4.1). Notes: svn path=/head/; revision=101029
* Remove trailing white spacesJosef Karthauser2002-07-311-3/+9
| | | | | | | Obtained from: NetBSD (1.16) Notes: svn path=/head/; revision=101026
* RegenJosef Karthauser2002-07-312-2/+23
| | | | Notes: svn path=/head/; revision=101025
* Add the HP ScanJet 2200C.Josef Karthauser2002-07-311-0/+1
| | | | Notes: svn path=/head/; revision=101023
* Enable the HP 2200C and Visioneer Scanport 3000 scanners, and removeJosef Karthauser2002-07-312-4/+7
| | | | | | | | | some trailing spaces whilst I'm here. Obtained from: NetBSD. Notes: svn path=/head/; revision=101022
* Add the Primax (Visioneer) 6200 scanner.Josef Karthauser2002-07-312-0/+2
| | | | | | | Obtained from: OpenBSD (via NetBSD) Notes: svn path=/head/; revision=101021
* RegenJosef Karthauser2002-07-302-2/+9
| | | | Notes: svn path=/head/; revision=100997
* Add support for a couple of network adapters; the 3Com 3C460B andJosef Karthauser2002-07-302-0/+3
| | | | | | | | | the Belkin USB2LAN. Obtained from: NetBSD Notes: svn path=/head/; revision=100996
* Remove some strange code that allocates memory and then immediatelyIan Dowse2002-07-301-26/+2
| | | | | | | | | | | frees it again. The idea was to perform M_WAITOK allocations in a process context to reduce the risk of later interrupt-context M_NOWAIT allocations failing, but in fact this code can be called from contexts where it is not desirable to sleep (e.g. if_start routines), so it causes lots of witness "could sleep" warnings. Notes: svn path=/head/; revision=100995
* Call bpf_mtap() on output, to catch outgoing packets for e.g. tcpdump .Bill Fenner2002-07-301-1/+5
| | | | Notes: svn path=/head/; revision=100980
* Resolve conflicts arising from the ACPI CA 20020725 import.Mitsuru IWASAKI2002-07-302-1/+11
| | | | Notes: svn path=/head/; revision=100969
* Commit a version of the uvisor driver for connecting HandspringJosef Karthauser2002-07-301-0/+438
| | | | | | | | | Visors via USB. Submitted by: Chia-liang Kao <clkao@clkao.org> Notes: svn path=/head/; revision=100958
* Add support for controlling line1 mixer device, which on some cards representsMaxim Sobolev2002-07-301-2/+9
| | | | | | | | | onboard FM tuner. MFC after: 2 weeks Notes: svn path=/head/; revision=100953
* Regen after usbdevs rev.1.95.Maxim Sobolev2002-07-302-2/+18
| | | | Notes: svn path=/head/; revision=100924
* Add ID for Luwen EasyDisk USB flash memory drive.Maxim Sobolev2002-07-301-0/+4
| | | | | | | | | PR: 41081 Submitted by: demon MFC after: 5 days Notes: svn path=/head/; revision=100923
* Add a quick check that device actually has sound capabilities. The problemMaxim Sobolev2002-07-301-1/+8
| | | | | | | | | | | | | | | is that some cards built around fm801 chip have the same device ID, only have radio tuner onboard, but no sound capabilities. Therefore, with such card inserted and `device pcm' in kernel the user has a big problem, as the fm801 driver effectively hangs the machine when trying to initialise nonexistent ac97 codecs (it does 500 retries with 1 second interval!). It would be better if MediaForte's engeneers were smart enough to put different device ID into such cards, but it isn't an option. MFC after: 2 weeks Notes: svn path=/head/; revision=100922
* If we are in hostap mode, do not go into promisc mode. This causesWarner Losh2002-07-291-11/+33
| | | | | | | | | | | | problems with the firmware and will result in a) poor performance and b) the inability to associate certain types of cards (most notibly cisco). Idea obtained from OpenBSD, but I implemented it by clearing the IFF_PROMISC flag rather than the refusing to honor it downstream. Notes: svn path=/head/; revision=100876
* Revert rev 1.131.Mike Silbersack2002-07-291-4/+2
| | | | | | | | | | | | | | 1.131 is slightly broken, and I would commit the fix to that here, but it has been reported that any deviation from the original code is causing problems with some 82557 chips, causing them to lock hard. Until those issues have been figured out, going back to the original code is the best plan. Frustrated: Silby Notes: svn path=/head/; revision=100857
* whitespace commit: fix indentation in fxp_intr_body.Luigi Rizzo2002-07-291-96/+96
| | | | | | | | This is also done in preparation of a subsequent fix for the handling of RNR conditions in polling mode. Notes: svn path=/head/; revision=100846
* OK, dont rely on the upper layers handling iosize_max correctly,Søren Schmidt2002-07-284-12/+10
| | | | | | | | | instead rely on ATAPI devices ability to do the work instead. MFC material. Notes: svn path=/head/; revision=100837
* Fix location and name of if_an_pci.c in comment.Bill Fenner2002-07-271-1/+1
| | | | Notes: svn path=/head/; revision=100770
* Properly change the block_size on different CD media, and use thatSøren Schmidt2002-07-273-6/+15
| | | | | | | | | to calculate the max amount of data in one IO request. Correct the max size on atapi floppies/tapes as well. Notes: svn path=/head/; revision=100749
* Do not try and probe random PNP devices, This Is Bad.Peter Wemm2002-07-271-23/+29
| | | | | | | Display reasons why probe/attach fails. Notes: svn path=/head/; revision=100744
* Make si_debug tunable.Peter Wemm2002-07-271-0/+1
| | | | Notes: svn path=/head/; revision=100743
* Send a disassoc packet for a STA that we don't know about that claims toWarner Losh2002-07-262-17/+15
| | | | | | | | | be associated with us. From millert@openbsd.org Obtained from: OpenBSD (I think) Notes: svn path=/head/; revision=100735
* Only INTERSIL 0.8.3 and newer firmware is supported with hostap mode.Warner Losh2002-07-261-8/+13
| | | | | | | | While earlier versions can be made to work, they require various work arounds not in the driver right now. Notes: svn path=/head/; revision=100734
* No doubt about it, I gotta get a better hat:Warner Losh2002-07-261-0/+1
| | | | | | | | | Add the definition for sockbase that I accidentally removed two revisions ago and didn't notice until some kind soul pointed it out to me. Notes: svn path=/head/; revision=100730
* Fix the max transfer size for ATAPI devices. The spec says toSøren Schmidt2002-07-263-4/+4
| | | | | | | | | transfer at most 65534 bytes, thats 126 times DEV_BSIZE not 252 :( Pointed out by: Ian Dowse <iedowse@maths.tcd.ie> Notes: svn path=/head/; revision=100724
* Looks like a last second change wasn't completely backed out.Warner Losh2002-07-261-1/+0
| | | | Notes: svn path=/head/; revision=100723
* Add ALLIED TELESIS,K.K. LA-ISA V2 ISA PnP ID.Takanori Watanabe2002-07-261-0/+1
| | | | | | | | Submitted by: nork MFC after: 3 days Notes: svn path=/head/; revision=100721
* MFp4:Warner Losh2002-07-264-126/+155
| | | | | | | | | | | | | | | | | | | | o Rename the insanely long PCIC bridge ids. o Add my copyright to pccbb.c o Add support for the TI-1510, TI-1520 and TI-4510 series of upcoming bridges. o Init MFUNC if it is zero and the TI part has a MFUNC register at offset 0x8c (1030, 1130 and 1131 don't have anything there, the 1250,1251,1251B and 1450 have a different thing there. The rest have it. TI is likely to only do MFUNC from now on. The IRQMUX in the 1250 series of chips needs no tweaks. o Adjust to new exca interface. o Add comments about TI chips that I learned in talking to an engineer at TI. o Add register definitions for MFUNC. o Create CB_TI125X chipset type. Notes: svn path=/head/; revision=100704
* MFp4:Warner Losh2002-07-263-20/+25
| | | | | | | | | | | | o Protect .h against multiple includes. o eliminate the pointers to the read/write routines. The bus_space_read routines can cope since we have the offset field. o Print a warning if the requested map address is > 16M and your chipset doesn't support the extended ExCA registers. Notes: svn path=/head/; revision=100703
* Make PCI_ENABLE_IO_MODES a sysctl hw.pci.enable_io_modes. It can alsoWarner Losh2002-07-261-20/+35
| | | | | | | | be set at boot time. It defaults to 1 now since it can be set in the boot loader. If this proves unwise, we can reset it to defaulting to 0. Notes: svn path=/head/; revision=100702
* Recognize the Altima AC9100 chip, which is used in current versionsJohn Polstra2002-07-262-0/+3
| | | | | | | | | | | | | of the Netgear GA302-T. I changed the symbolic names in the submitter's patch to reflect the part number of the chip instead of the board. PR: kern/38988 Submitted by: Brad Chapman <chapmanb@arches.uga.edu> MFC after: 2 days Notes: svn path=/head/; revision=100695
* Frequency default should be '25' for 25MHz, not 25000000.Matt Jacob2002-07-251-7/+23
| | | | | | | | | | | | | Through the PITA of endiannness, clock has to be MHz freq << 8. Don't trust NVRAM on SBus cards. Set a default initiator ID sensibly. SBus/ISP now working, what with the change to sbus.c earlier today. Notes: svn path=/head/; revision=100690