summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Tripmine for bad hardware.n_hibma2000-01-291-0/+4
|
* "Completed" the previous fix. Return ENOMEM on memory allocation failurebde2000-01-291-1/+8
| | | | | in sioattach(), not ENXIO. Free resources before returning early in sioprobe() and sioattach().
* Minor tweak: the D-Link 10/100 USB ethernet adapter is apparently usingwpaul2000-01-291-4/+8
| | | | | the same design as the LinkSys adapter and needs the same special handling to enable its PHY.
* differentiate cmi8330 and als100 pnp cards based on their vendor id. thiscg2000-01-292-2/+13
| | | | is a kludge for 4.0
* Get the MEDIA_CHANGED status right here too.sos2000-01-281-2/+4
|
* Use atapi_test_ready not atapi_wait_ready, I need more sleep :(sos2000-01-281-1/+1
|
* Get the MEDIA_CHANGED status right.sos2000-01-282-2/+5
|
* Fix the atapi-fd.c (afd device) so that fx MSDOS formatted ZIPsos2000-01-282-5/+8
| | | | | | | | disks can be mounted. Use b_pblkno instead of b_blkno Found by: phk Protect (proberly) against setting modes on nonexisting devices.
* - Fix an issue that paniced the machine in data overrungroudier2000-01-281-3/+13
| | | | | | | condition. - 1 line change that allows to balance chips between ncr and sym using pci compat option (not compiled by default in 4.0 but maintains the driver source 3.4 compatible).
* Fix compilation on ISA only setups...sos2000-01-281-4/+3
|
* Cleanup the ata_dmainit function a bit.sos2000-01-282-33/+41
| | | | Also allow BIOS setup DMA on unknown controllers.
* Correct the list of error messages. It was incomplete.n_hibma2000-01-281-0/+3
|
* Regen.n_hibma2000-01-281-1/+1
|
* Correct the entry for the Kodak DC290.n_hibma2000-01-281-1/+1
| | | | Submitted By: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
* Oops, fix compile error due to the new way of storing the transfer mode.sos2000-01-281-6/+6
|
* Add support for detection of the ESS 1688 found on my Dell Latitude LMgallatin2000-01-281-0/+1
|
* Fix a bug in the uhci driver that breaks large bulk IN transfers. Thewpaul2000-01-286-74/+22
| | | | | | | | | | | | | | uhci_check_intr() routine needs to be more careful about deciding when the end of a transfer has been detected. This allows me to remove the nasty workaround code from if_aue and if_cue. Receive performance is now much better for these adapters (500KB/sec vs. 350KB/sec). Also removed unused KUE_CUTOFF define from if_kuereg.h. Submitted by: Lennart Augustsson Reviewed by: n_hibma
* The values for OHCI_HALTED and OHCI_TOGGLECARRY were reversed.n_hibma2000-01-281-2/+2
|
* Move the defines to the right location.n_hibma2000-01-273-10/+18
| | | | | | | Add a DIAGNOSTIC when closing interrupt pipes. Insert splx(s) which were left out with iso pipes (non-functional yet) and in a DIAGNOSTIC.
* Add umass.cn_hibma2000-01-271-1/+2
|
* Add sysctl oid hw.atamodes to set the transfermodes online.sos2000-01-277-43/+101
|
* handle simplex devices rightcg2000-01-261-1/+1
|
* Properly teardown the allocated and initialised stuff when an errorn_hibma2000-01-262-38/+43
| | | | | | | | occurs (OHCIwas already done for UHCI). Get rid of the usbus variable. It is confusing. Align uhci_pci.c and ohci_pci.c again.
* Don't set ivars until we checked the return value from device_add_child.n_hibma2000-01-262-2/+2
|
* Add commentsn_hibma2000-01-261-6/+27
|
* Make this lot build on alpha.dfr2000-01-253-4/+6
|
* * Don't use ivars to access resources, bus_set/get_resource is much better.dfr2000-01-251-10/+26
| | | | * First approximation of making this work on alpha (not working yet).
* Retry a bit more agressively on the atapi identify.sos2000-01-256-31/+57
| | | | | | | | | | | | Try to support older systems reporting irq0 for the first channels. Support sharing of the std interrupts (says peter :) ) Dont use READ_CD on normal data reads (2048 bytes), too many old drives doesn't support this command even if the std says "shall" :(, but still use READ_CD on all other blocksizes. Add the geometry to the ad probe, its still usefull.
* Add usbd_clear_endpoint_toggle(pipe) function.n_hibma2000-01-252-0/+9
| | | | | This is needed to implement a asynchronous callback for clear endpoint stall, needed for the umass driver.
* Correct subroutine names in DPRINTFn_hibma2000-01-251-5/+5
|
* Always leave SP_DCEN on (monitor DCD). Otherwise the firmware *really*peter2000-01-252-2234/+2249
| | | | | | | | | | | | | | | | | does ignore DCD. Even TIOCMGET cannot read DCD as the firmware doesn't report it. This has pretty interesting effects for ppp(8) which runs in clocal mode and polls carrier (!). (Specialix's linux driver does this too) Also update the firmware to 3.0.6 for the SX cards, as apparently there was a problem with floating (disconnected) DCD pins causing stray carrier transitions, especially at port open time. It seems to work here, and carrier loss is detected nearly immediately rather than having to wait for a LQR timeout (a few minutes) before ppp(8) gives up. DCD problem noted by: nsayer
* General cleanup.sos2000-01-249-571/+613
| | | | | | | | | | | | | | | | | | | Dont be so verbose in the probe, only ONE line printed now, to get more info boot verbose. Centralise most printf's in ata-all & ata-dma to use the ata_printf function, it saves alot of codelines. Repeat the identify command if drive fails the first. Protect the timeout functions with splbio. Dont update the transfer details before we are sure the transfer succeded, this way they are proberly retried on errors. Move the handling of next_writeable to userland. Use the READ_CD command to read CD's. That enables us to read _anything_ via the normal read/write interface. This kindof obsoletes the READAUDIO ioctl, but we keep that for now.
* Add support for DM9102A boards with Davicom DM9801 HomePNA PHYs.wpaul2000-01-241-7/+77
|
* Update to driver 2.07roger2000-01-241-1/+2
| | | | Add new Channel Set for France. Submitted by Daniel Dagneaux <dagneaux@lure.u-psud.fr>
* Update to driver 2.07roger2000-01-244-12/+47
| | | | | | | Update i2c code to build on FreeBSD 3.x and 4.x machines. Added GPIO audio values for the Askey/Dynalink TV card talken from postings on the V4L mailing list. Update Australian Channel Set. Submitted by John Birrell <jb@cimlogic.com.au> Add new Channel Set for France. Submitted by Daniel Dagneaux <dagneaux@lure.u-psud.fr>
* Fix a bug exposed by the previous commit. Do not use scp->font_size,yokota2000-01-241-2/+5
| | | | | | if the screen is in a graphics mode Reported by: Maxim Sobolev <sobomax@altavista.net>
* The previous fix for the USB ugen device set configuration ioctl()n_hibma2000-01-241-4/+12
| | | | | | | has a slight error, and returns EIO way too often. PR: 16315 Submitted by: Louis Mamakos <louie@TransSys.COM>
* Add a workaround to which allows alphas to reserve a port range whichdfr2000-01-241-1/+1
| | | | | | | | doesn't conflict with the parallel port on my miata (0x3bc..0x3bf). The right solution will be to reserve two port ranges in vga, 0x3b0..0x3ba and 0x3c0..0x3ca. Reviewed by: yokota
* Ack! I totally botched the pci probe routine which resulted in it tryingpeter2000-01-241-6/+10
| | | | to match everything else *but* a specialix pci card. *blush*.
* A bit more newbusification of si. This still isn't quite finished.peter2000-01-248-601/+747
| | | | | Split out the bus attachments so the impact of the bus xxxvar.h files with the inline macros for the ivars are confined to one file each.
* Fix plug and play support:imp2000-01-244-119/+97
| | | | | | | | | | | o Cut out the probed stuff. We no longer need it since newbus implicitly checks for this (likely bt can be changed as well in this way). o Add preliminary support for unload. Untested because aha doesn't yet support identify and there are some interactions with PnP that I've not yet worked out. With this I can boot the AHA-1542CP FW F.0. All the aha resources appear to be picked up via pnp now.
* Initial attempt at newbusification of the specialix si/xio/sx driver.peter2000-01-233-470/+496
| | | | | | | The files were repo copied from their original location and are part way towards being portable. This should unbreak the EISA support in the driver. I have not updated files* yet as I'm not quite finished.
* Fix some warnings.peter2000-01-231-2/+2
|
* remove "extern int cold" from SPLUSBCHECK - it causes a heap of warnings.peter2000-01-231-1/+0
|
* Fix a warning in DIAGNOSTIC code.peter2000-01-231-1/+1
|
* Remove #if 0'ed reference to isa_device->id_alivepeter2000-01-231-1/+0
|
* Check whether we can change config at all. If any of the endpointsn_hibma2000-01-231-1/+11
| | | | | | | has been opened, we should not allow configuration changes as endpoint descriptors might disappear. PR: 16256, 16168
* Zap the vnodes for the control endpoint as well.n_hibma2000-01-231-0/+6
|
* Return ENXIO on error, not 0. Seems to have been skipped when convertingn_hibma2000-01-231-1/+1
| | | | | | to newbus. Reviewed by: bde
* Some newbus-inspired tidy-ups. Use device_identify() rather than scanningpeter2000-01-238-255/+195
| | | | | | | | | | | | the resource table to locate children. The 'at ppbus?' can go again. Remove a few #if Nxxx > 0' type things, config arranges this for us. Move the newbus method glue next to the DRIVER_MODULE() stuff so we don't need extra prototypes. Don't set device descriptions until after the possibility of the probe returning an error. Remove all cdevsw_add() calls, all the drivers that did this also use make_dev() correctly, so it's not required. A couple of other minor nits.
OpenPOWER on IntegriCloud