summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Note the PnP id's for the NMX2210 next to the id's where they are used.peter2000-01-231-2/+3
| | | | | The pnpbios doesn't supply a description in the case we've seen so supply one.
* Clean up some more loose ends..peter2000-01-232-2/+2
| | | | | | | | isa_device->id_ri_flags and RI_FAST were not implemented and did nothing. The two drivers that were mistakenly thinking this was working were cy.c and loran.c - these should be converted to newbus. GC (garbage collect) isa_device->id_alive GC userconfig.c references to isa_device->id_scsiid (!).
* Fix a bug in the last commit. >> 4 instead of >> 8. *bap*mdodd2000-01-231-6/+6
| | | | | | | | | | | Fix a long-standing bug where I used a 'break;' instead of a 'continue;'; you had to have multiple ISA boards in non-PnP mode with an 'unknown' board with a lower MAC address to find this one. Since I have 4 3c5x9 boards in my test box I was somewhat confused when this happened. :) Make the messages printed by ep_isa_identify() a little more consistent; we'll only see them in verbose boot mode but it makes me feel better if they look nice.
* Add the ID for the 3c509-TPC.mdodd2000-01-231-0/+12
| | | | | | | | Also, while I'm here, add a mechanism to catch unknown board IDs that are likely to be 3c509s and allow them to be attached. PR: kern/16304 Submitted by: Kelly Yancey <kbyanc@posi.net>
* The pointer of the serial FIFO in the DSP seems to make an errortanimura2000-01-231-3/+22
| | | | | upon starting/stopping the DSP. Correct the pointer in addition to clearing the FIFO.
* Don't execute MAC address initialization for non-pccard sn devices.hosokawa2000-01-224-7/+19
|
* There seems to be some problems, particularly on alpha, withmjacob2000-01-211-0/+5
| | | | | FAST POSTING enabled for parallel SCSI. Be sure about things and disable it for now.
* Add ID for the AMD-756 OHCI controllern_hibma2000-01-211-0/+9
|
* Added support for hex-encoded MAC address of Megahertz X-Jack Ethernet Cardhosokawa2000-01-212-14/+19
| | | | Reviewed by: Warner Losh <imp@village.org>
* Propagate MAC address in CIS tupple to dev/ed/ driver.hosokawa2000-01-212-0/+23
| | | | | | | | Many ed-based Ethernet PC-cards can't get correct MAC address without this patch. Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp> Reviewed by: Warner Losh <imp@village.org>
* Remove definition of the unimplemented "control" hook.archie2000-01-216-10/+4
|
* Add support for DEVICE_SUSPEND, DEVICE_RESUME and DEVICE_SHUTDOWNn_hibma2000-01-205-10/+17
| | | | | | | | | | methods for USB devices. However: with none of the devices I have here suspend seems to work properly. This is probably a bug in uhci_power which I still have to look at. Prodded and pushed by: Christopher Masto <chris@netmonger.net>
* Remove duplicate includen_hibma2000-01-201-1/+0
|
* Properly remove interrupts if initialisation fails.n_hibma2000-01-201-29/+37
|
* Fix test for deciding when a bulk IN transfer got truncated. I thoughtwpaul2000-01-201-1/+1
| | | | | I fixed this last night, but apparently I only applied the patch to the copy of the code in /dev/brain0.
* - Add some comment from bde on the keyboard interrupt.yokota2000-01-202-22/+38
| | | | - Fix obsolete comments.
* Do not include `ukbd.h'; it's not used.yokota2000-01-201-1/+0
| | | | Pointed out by: bde
* Unconditionally define sc_paste().yokota2000-01-202-4/+0
|
* Fix wrong usage of FONT_NONE. It was not meant to be set inyokota2000-01-204-5/+4
| | | | | | | scp->font_size in the first place. It is redundant now and is removed. Found by: bde
* Regen.wpaul2000-01-202-507/+625
|
OpenPOWER on IntegriCloud