summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Modernise the cdevsw WRT to (unused) kqueue.markm2002-08-021-0/+2
|
* Don't set the IFF_PROMISC bit when in hostap mode like the previousimp2002-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.
* Allow the ahc and ahd drivers to be built as modules. This alsoscottl2002-08-012-7/+7
| | | | | breaks the ahc driver into a core back-end and pci and eisa front-ends.
* Make sure to set both sets of registers which control the RX and TX buffersilby2002-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
* Byteswap the serial #sos2002-07-311-0/+3
|
* Finally first shot at a driver for the Promise SuperTrak SX6000 ATA RAIDsos2002-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.
* Replace the FOO_DEBUG definitions with USB_DEBUG, and switch thejoe2002-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.
* Make this compile with the debugging options switched on.joe2002-07-311-0/+7
|
* Wake up Joe! It would help if I included sys/sysctl.h.joe2002-07-311-0/+1
|
* Add a sysctl (debug.usb.uhub) for tweaking the uhub debug levels.joe2002-07-311-1/+3
|
* Get bored with hard coded debug level variables and introduce a debug.usbjoe2002-07-3120-17/+58
| | | | | | sysctl tree for tweaking them real-time. Reviewed by: iedowse
* It should be "ucom", not "usio".joe2002-07-311-1/+1
|
* Regenjoe2002-07-312-2/+37
|
* MFNetBSD: uvisor.c (1.14, 1.15)joe2002-07-312-9/+56
| | | | Add support for Palm (M500, M505, M125) and Sony devices (Clie 4.0 and 4.1).
* Remove trailing white spacesjoe2002-07-311-3/+9
| | | | Obtained from: NetBSD (1.16)
* Regenjoe2002-07-312-2/+23
|
* Add the HP ScanJet 2200C.joe2002-07-311-0/+1
|
* Enable the HP 2200C and Visioneer Scanport 3000 scanners, and removejoe2002-07-312-4/+7
| | | | | | some trailing spaces whilst I'm here. Obtained from: NetBSD.
* Add the Primax (Visioneer) 6200 scanner.joe2002-07-312-0/+2
| | | | Obtained from: OpenBSD (via NetBSD)
* Regenjoe2002-07-302-2/+9
|
* Add support for a couple of network adapters; the 3Com 3C460B andjoe2002-07-302-0/+3
| | | | | | the Belkin USB2LAN. Obtained from: NetBSD
* Remove some strange code that allocates memory and then immediatelyiedowse2002-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.
* Call bpf_mtap() on output, to catch outgoing packets for e.g. tcpdump .fenner2002-07-301-1/+5
|
* Resolve conflicts arising from the ACPI CA 20020725 import.iwasaki2002-07-302-1/+11
|
* Commit a version of the uvisor driver for connecting Handspringjoe2002-07-301-0/+438
| | | | | | Visors via USB. Submitted by: Chia-liang Kao <clkao@clkao.org>
* Add support for controlling line1 mixer device, which on some cards representssobomax2002-07-301-2/+9
| | | | | | onboard FM tuner. MFC after: 2 weeks
* Regen after usbdevs rev.1.95.sobomax2002-07-302-2/+18
|
* Add ID for Luwen EasyDisk USB flash memory drive.sobomax2002-07-301-0/+4
| | | | | | PR: 41081 Submitted by: demon MFC after: 5 days
* Add a quick check that device actually has sound capabilities. The problemsobomax2002-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
* If we are in hostap mode, do not go into promisc mode. This causesimp2002-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.
* Revert rev 1.131.silby2002-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
* whitespace commit: fix indentation in fxp_intr_body.luigi2002-07-291-97/+97
| | | | | This is also done in preparation of a subsequent fix for the handling of RNR conditions in polling mode.
* OK, dont rely on the upper layers handling iosize_max correctly,sos2002-07-284-12/+10
| | | | | | instead rely on ATAPI devices ability to do the work instead. MFC material.
* Fix location and name of if_an_pci.c in comment.fenner2002-07-271-1/+1
|
* Properly change the block_size on different CD media, and use thatsos2002-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.
* Do not try and probe random PNP devices, This Is Bad.peter2002-07-271-23/+29
| | | | Display reasons why probe/attach fails.
* Make si_debug tunable.peter2002-07-271-0/+1
|
* Send a disassoc packet for a STA that we don't know about that claims toimp2002-07-262-17/+15
| | | | | | be associated with us. From millert@openbsd.org Obtained from: OpenBSD (I think)
* Only INTERSIL 0.8.3 and newer firmware is supported with hostap mode.imp2002-07-261-8/+13
| | | | | While earlier versions can be made to work, they require various work arounds not in the driver right now.
* No doubt about it, I gotta get a better hat:imp2002-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.
* Fix the max transfer size for ATAPI devices. The spec says tosos2002-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>
* Looks like a last second change wasn't completely backed out.imp2002-07-261-1/+0
|
* Add ALLIED TELESIS,K.K. LA-ISA V2 ISA PnP ID.takawata2002-07-261-0/+1
| | | | | Submitted by: nork MFC after: 3 days
* MFp4:imp2002-07-264-127/+156
| | | | | | | | | | | | | | | | | 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.
* MFp4:imp2002-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.
* Make PCI_ENABLE_IO_MODES a sysctl hw.pci.enable_io_modes. It can alsoimp2002-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.
* Recognize the Altima AC9100 chip, which is used in current versionsjdp2002-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
* Frequency default should be '25' for 25MHz, not 25000000.mjacob2002-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.
* Don't test against default_iid being zero as a test for whether wemjacob2002-07-251-1/+2
| | | | set something- iid 0 is valid.
* Make sure that if are in fact using 'full SMP', make the interruptmjacob2002-07-253-12/+25
| | | | | | | | | flags include INTR_MPSAFE. Put the flags in a common place so that both isp_sbus && isp_pci DTRT. In isp_mbxdma setup, drop any locks prior to calling things like bus_dmatag_create. This gets rid of these obnoxious WITNESS messages about 'sleeping with locks held' blah blah blah blah blah.
OpenPOWER on IntegriCloud