summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* diff reductionjulian2002-04-171-9/+0
|
* Slight diff-reduction to -stable.julian2002-04-171-5/+5
|
* Add MODULE_VERSION.mdodd2002-04-171-0/+1
|
* - Convert the 'hfa' ATM interface driver to newbus.mdodd2002-04-175-0/+966
| | | | | | - Add stubs for EISA and SBUS cards. (VME, FutureBUS, and TurboChannel stubs not provided.) - Add infrastructure to build driver and bus front-end modules.
* Scale back # of luns supported for SCC to 16384- oops- top 3 bits are amjacob2002-04-163-28/+112
| | | | | | | | | | | | lun address modifier of sorts. Only an HP XP-512 seems to have cared. Fix a few misplaced pointers for the new fabric goop, which has been demonstrated to work on newer Brocades and McData switches now. Put in commented out code which would run GFF_ID if the QLogic f/w allowed it. Don't whine about not being able to find a handle for a command if it was a command aborted (by us).
* Diff reduction to 4.x version.julian2002-04-161-44/+41
|
* Add support for the nVIDIA nForce ATA controller.sos2002-04-162-58/+50
| | | | | Collapse the VIA/AMD/nVIDIA support code into one, they are created more or less equal anyway..
* Merge from OpenBSD's fixes:imp2002-04-162-278/+278
| | | | | | | | | | o move timeout from wihap_info to wihap_sta_info o sprinkle spls into the code (need to use proper -current locking) o better use of le16toh and htole16 o fix a few leaks m_freem(m) o minor knf o minor de-knf to match OpenBSD o de__P
* Minor format nitimp2002-04-161-1/+0
|
* Cast another bus_addr_t to long long for a printf to quiet a warning onjhb2002-04-161-1/+2
| | | | alpha.
* - Nuke fore_pci_device.arr2002-04-161-67/+41
| | | | | | | | | - Add a device_method_t array, fore_methods. - Add a fore_ident_table that contains the various FORE Systems PCA-200 series devices. - Rewrite of the fore_probe routine (formerly known as fore_pci_probe). - Minor changes... mostly WIP stuff to get this updated... still much to be done.
* - Remove PCA-200E definition -- this will be re-added in the commit toarr2002-04-161-1/+0
| | | | | fore_load.c that will add ``fore_ident_table'' which holds various types of FORE Systems PCA-200 series devices.
* Recognize the AC97 interface to the onboard sound controller on the Nvidiajhb2002-04-151-0/+4
| | | | | | | | nForce chipset. Playback at least seems to work fine with the ich driver out of the box. Sponsored by: The Weather Channel Help from: cg
* Use bus_addr_t instead of u_int for local variables that are derived fromjhb2002-04-151-5/+5
| | | | | | the per-channel bus_addr_t offset. Also, cast the offset to (long long) and use %#llx instead of %#x to fix printf warnings on architectures where sizeof(bus_addr_t) != sizeof(int).
* Fix some nits in AMD AGP driver. Remove excess malloc and move a bzerocokane2002-04-151-10/+3
| | | | | | | out of the way, so it won't cause trouble. Submitted by: Frank Mayher <frank@exit.com> MFC after: 1 week
* Remove a spurious warning as x is always initialised before use.roberto2002-04-151-1/+1
| | | | | | | | es137x.c: In function `es1371_rdcd': es137x.c:598: warning: `x' might be used uninitialized in this function PR: kern/35408 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
* Basic OpenFirmware disk driver. It will attach to anything in OpenFirmwarebenno2002-04-151-0/+261
| | | | | | | that declares itself to be a disk, which may be the wrong thing to do in the long term but it works well enough to attach to emulated disks in the PowerPC simulator in gdb now that they have the proper device_type property.
* Fix tx-rate setting for Lucent cards.brooks2002-04-141-0/+15
| | | | Submitted by: Eugene Perevyazko <john@pcs.dp.ua>
* Support the Siemens SpeedStream PCI card.brooks2002-04-141-0/+1
| | | | | PR: kern/35988 Submitted by: Stephen Gunn <csg@waterspout.com>
* Fix the play / record rate setting so that it actually works.jhay2002-04-141-3/+8
| | | | | | | | The extra microphone channel capability is part of the "normal" ac97 capabilities and not an extended ac97 capability. Now recording on codecs without a seperate mic channel works. MFC after: 1 week
* Turn on TGA support.obrien2002-04-138-18/+64
| | | | Submitted by: Andrew M. Miklic <AndrwMklc@cs.com>
* If the receiver runs out of space for an received frame in the internalphk2002-04-132-22/+8
| | | | | | | | | | | | | | | | | | | FIFO or the in-RAM descriptors it will switch to RX_IDLE from where it is not restarted. We used to deal with RX_IDLE by doing a total reinit but this lost our link and caused a potential 30sec autonegotiation against switches. This was changed to a less heavyhanded approach, but this failed to restart the receiver it it were in the RX_IDLE state. This change adds the RX_IDLE and the RX_FIFO_OFLOW conditions as triggers for interrupts and receive side processing, and restarts the receiver when it is RX_IDLE. Remove the #ifdef notyet'ed nge_rxeoc() function. Sponsored by: Cybercity Internet, Denmark. MFC after: 7 days
* Fix an edge case wrt membase, but more changes neededimp2002-04-131-1/+1
|
* Restore NetBSD copyrights that shouldn't have been removed in the first place.imp2002-04-132-0/+60
|
* Add a couble more Promise chip ID's.sos2002-04-121-1/+2
|
* After committing the forgotten IFM_IEEE80211_HOSTAP stuff to if_media.h,imp2002-04-121-10/+2
| | | | no need for the ifdefs here anymore.
* unifdef -DWI_HOSTAP, like OpenBSD doesimp2002-04-125-56/+5
|
* ifdef WI_HOSTAP some stuff that seems like it needs to be ifdef'd.alfred2002-04-121-0/+2
|
* Replace the original host WEP implementation with the one in OpenBSDimp2002-04-122-146/+130
| | | | | | | | | | (apparently by markus@, at least committed by him). This has the advantage of not using the bad IV's from Fluhrer/Mantin/Shamir as well as bringing the drivers a little closer together. Also use a few constants in place of magic numbers in one place. Obtained from: OpenBSD 1.25, 1.28, 1.36, 1.38, 1.42
* Add ActionTec HWC01170 and Linksys IWN2imp2002-04-111-0/+2
| | | | Obtained from: OpenBSD
* Catchup to 1.32imp2002-04-111-1/+7
|
* Add ACTIONTEC HWC01170 from OpenBSDimp2002-04-111-0/+4
|
* Make this compile again when UMASS_DEBUG isn't defined.jhb2002-04-111-0/+2
|
* Fix a warning due to the code assuming sizeof(int) == sizeof(void *) whichjhb2002-04-111-1/+1
| | | | | is not true on the alpha. I think that other parts of this code also make this implicit assumption as well.
* Add yet another chip ID for a Promise TX2 chip.sos2002-04-113-0/+4
|
* Delay umass_cam_rescan by 200 ms to make sure attach is finished by then_hibma2002-04-111-3/+12
| | | | | | | | time we tell CAM to rescan the bus. Together with the previous patch this should avoid the problem where the devices would wedge because they got spoken to over two different pipes. Tested by: Tomas Pluskal <plusik@pohoda.cz>
* Fix the I/O performance issues with the ciss driver where CAM was limitingps2002-04-111-1/+2
| | | | | | the number of transactions the device could handle to 1. Obtained from: msmith
* Only calculate Promise magic if a device is there for info.sos2002-04-111-2/+2
|
* Integrate the hostap stuff that Thomas Skibo <skibo@packbell.net>imp2002-04-118-53/+1769
| | | | | | | | | | wrote. This code was for 4.5-release, so I've ported it to -current and made a few minor tweaks. The biggest non-style tweak was to not make access point the default. More changes will be needed to get this actually working, but I wanted to get a relatively pure baseline. This doesn't seem to break what works now.
* better initimp2002-04-111-4/+6
|
* Yet another adjustment of digi_delay(). The delay is now consistentbrian2002-04-103-18/+19
| | | | irrespective of whether tsleep() or DELAY() is used.
* Postpone I/O to the device until attach has finished. This fixesn_hibma2002-04-101-21/+23
| | | | | | | | | | | | | attachment after boot in some cases where the device gets confused if spoken to over two different pipes simultaneously (resulting in TIMEOUT errors on requesting INQUIRY data). This solution is far from perfect, as after umass_attach has returned the USB stack fetches the string descriptors in order for creating the event that is sent to userland. It just makes the chances of collisions less likely. Tested by: Tomas Pluskal <plusik@pohoda.cz>
* Change more uses of tsleep() to digi_delay() and make the loop counts morebrian2002-04-103-19/+22
| | | | sane.
* Fix the FreeBSD native ATA RAID code a bit.sos2002-04-102-31/+34
|
* intline == 0 is not a valid intline on 386. See pci_cfgintr() inn_hibma2002-04-101-1/+5
| | | | | | | sys/i386/pci/pci_cfgreg.c. This should resolve some cases where adding USB support to the kernel produced an interrupt storm.
* Treat input on the snp device as an `unsigned char'. According to thedd2002-04-101-1/+1
| | | | | | | | submitter, this permits Russian (and probably other locales') characters to be entered via watch(8). PR: 35636 Submitted by: Gleb Smirnoff <glebius@rinet.ru>
* Add a digi_delay() function and use it instead of tsleep() when pollingbrian2002-04-101-5/+14
| | | | | | | | | the card for command completion. digi_delay() uses either tsleep() or DELAY() depending on the value of ``cold''. Pointed in the right direction by: jhb
* Use the PCI port for pci cards, not just for PCIXR cards.brian2002-04-101-6/+6
| | | | | | | | Add the card name to the error message for the first initialisation failure, giving us more info about what was actually discovered. This code has been tested by Robert Suetterlin <robert@mpe.mpg.de> to work on a PCI Xem card.
* Change linker_reference_module() so that it's passed a structbrian2002-04-101-2/+8
| | | | | | | | | | mod_depend * (which may be NULL). The only consumer of this function at the moment is digi_loadmoduledata(), and that passes a NULL mod_depend *. In linker_reference_module(), check to see if we've already got the required module loaded. If we have, bump the reference count and return that, otherwise continue the module search as normal.
* Add some missing MODULE_VERSIONsbrian2002-04-108-0/+9
| | | | | Without these, the kern_linker interface doesn't record these pseudo-drivers, making them unavailable via modlist_lookup2*().
OpenPOWER on IntegriCloud