summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* sioprobe: Don't try to initialize disabled ports. In particular,grog1999-06-191-2/+4
| | | | | | | attempting to initialize sio3 caused problems with ATI video boards, which cleverly share the I/O space. PR: kern/12295
* Add a transmit descriptor usage counter and use it to absolutely,wpaul1999-06-192-4/+15
| | | | | | | | | positively not let ti_encap() fill up the TX ring all the way and wrap around. This fixes a potential transmit lockup where a really fast machine (or particular TX traffic pattern) can overrun the end of the ring. Reported by: John Plevyak <jplevyak@inktomi.com>
* Add Id stringsgpalmer1999-06-171-0/+2
|
* Fixed a missing userland dev_t to kernel dev_t conversion.bde1999-06-171-1/+1
|
* Remove option USBVERBOSEn_hibma1999-06-161-2/+2
| | | | | | Add the options for debugging used in dev/usb/*.c Submitted by: Kazu
* Print verbose messages when there is error.yokota1999-06-161-2/+21
| | | | Oked by: des
* COM_LLCONSOLE should over-ride COM_DEBUGGER request.mckusick1999-06-151-2/+2
|
* 1) remove the soft reset after a command failed.n_hibma1999-06-131-5/+17
| | | | 2) remove printing of errno and errstr
* 1) Add non-blocking I/O on readn_hibma1999-06-131-6/+32
| | | | | 2) Add checks to make sure we do not dereference the softc when not found because the device has been removed.
* Shorten the strings a bit (remove 'Host')n_hibma1999-06-132-15/+16
|
* Removed checking for unit>NBKTR.roger1999-06-131-17/+2
| | | | | No longer need when using device_get_softc. (also fixed bug where loadable bktr module could only access 1st device)
* Updated to use the new 4.x newbus APIroger1999-06-122-219/+296
| | | | | | Also removed the BSDI support (for now) This allows the driver to be loaded/unloaded as a KLD and loaded in the boot loader phase whithout making a custom kernel.
* Small optimization: use wi_seek() in wi_read_record() and wi_write_record()wpaul1999-06-061-27/+9
| | | | | instead of frobbing the buffer access path registers directly. Saves a few lines of duplicated code.
* Fixed null setting of `rc_started'. This was fixed for thebde1999-06-041-7/+2
| | | | | | | | | | corresponding variable `rc_wakeup_started' in rev.1.36 but broken again in rev.1.37. This bug only caused excessive polling (it gave NRC activations for each of the SWI handler and the timeout handler instead of 1 of each). Moved cdevsw attachment from the driver probe routine to the driver attach routine.
* Really fix cy-driver-related panics when SMP is configured. Rev.1.88 onlybde1999-06-042-6/+10
| | | | | | fixed half the problem. Tested by: Michael Scott Boers <mboers@datacompusa.com>
* Fix the cdevsw_add change made by PHK.roger1999-06-041-5/+5
| | | | | (It was accidentally added to the BSDI bktr_probe and not the FreeBSD bktr_probe)
* Add remark about where bInterfaceProtocol number for USB Zip drive comesn_hibma1999-06-041-1/+1
| | | | | | from. 0x50 == 'P' for protoype. Obtained from: Pat LaVarre <LAVARRE@iomega.com> on linux-usb@suse.com
* GC unused prototypepeter1999-06-031-2/+1
|
* Quieten the bt_isa_probe() messages since they get a bit much whenpeter1999-06-031-3/+4
| | | | the isa probe has gone hunting for a card on it's own.
* Fix PS/2 MouseMan+ protocol. We have been looking at a wrong placeyokota1999-06-031-2/+2
| | | | for the sign bit for roller movement!
* Unifdef VM86jlemon1999-06-012-9/+7
| | | | Reviewed by: silence on on -current
* USB stopped working as of the recent cdevsw cleanup. This fixes that.n_hibma1999-06-013-7/+8
|
* Remove the stub driver. It's useless.n_hibma1999-06-011-137/+0
|
* usbd_get_request_status now only returns the value if the associatedn_hibma1999-06-011-4/+8
| | | | pointer is passed.
* 1) Remove the definition of usb_cdc_generic_descriptor_t. It isn_hibma1999-05-311-7/+1
| | | | | | equivalent to usb_descriptor_t 2) Rename USB_CDC_CM_CM_OVER_DATA to USB_CDC_CM_OVER_DATA
* On the new Meteor cards, the Philips SAA 7116 is connected to the PCI busroger1999-05-312-2/+54
| | | | | | | | | | | | | | | | | | | | via an IBM PCI-PCI bridge (82351 or 82352 or 82353) The driver must identify if it is on a secondary PCI bus, which is created via the IBM PCI-PCI bridge. If it is, then it must initialise the IBM PCI-PCI bridge correctly. To do this, the following new functions are added. Because they use the pcici_t tag, they are considered 2.2 compatibility APIs pcici_t * pci_get_parent_from_tag(pcici_t tag); int pci_get_bus_from_tag(pcici_t tag); (The _from_tag suffix is used to prevent clashes with similarly named newbus PCI API functions) Submitted by: Anton Berezin <tobez@plab.ku.dk> Reviewed by: Doug Rabson <dfr@nlsystems.com> Reworked by: Me (roger)
* * Change include file locations.dfr1999-05-312-13/+18
| | | | | * Fix some misunderstandings about the return value of resource_int_value(). * Make it build on alpha (doesn't work yet...)
* Simplify cdevsw registration.phk1999-05-3132-305/+117
| | | | | | | | | | | | | | | | | | | | | | | | | The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing. cdevsw_add() will print an message if the d_maj field looks bogus. Remove nblkdev and nchrdev variables. Most places they were used bogusly. Instead check a dev_t for validity by seeing if devsw() or bdevsw() returns NULL. Move bdevsw() and devsw() functions to kern/kern_conf.c Bump __FreeBSD_version to 400006 This commit removes: 72 bogus makedev() calls 26 bogus SYSINIT functions if_xe.c bogusly accessed cdevsw[], author/maintainer please fix. I4b and vinum not changed. Patches emailed to authors. LINT probably broken until they catch up.
* The PPSAPI group defines the polarity in draft 3, we guessed it wrong.phk1999-05-311-2/+2
|
* Enable attachment of multiple drivers to a single device.n_hibma1999-05-301-11/+16
|
* Notify CAM of the removed device on detach.n_hibma1999-05-301-5/+3
|
* This commit should be a extensive NO-OP:phk1999-05-3043-261/+898
| | | | | | | | | | | | | Reformat and initialize correctly all "struct cdevsw". Initialize the d_maj and d_bmaj fields. The d_reset field was not removed, although it is never used. I used a program to do most of this, so all the files now use the same consistent format. Please keep it that way. Vinum and i4b not modified, patches emailed to respective authors.
* Don't bogusly define a d_reset_t function.phk1999-05-301-14/+2
|
* 1) Add URL for printer class specificationn_hibma1999-05-301-12/+8
| | | | | | 2) Change name of UE_IN to UE_DIR 3) Enable printing of the Printer Id string 4) Clean up debugging output while we are at it.
* - When aborting an interrupt pipe, just wait for 1ms for the completionn_hibma1999-05-301-9/+5
| | | | | | | | of the current interrupt trasaction. - Do not schedule the next interrupt transaction if the pipe is being aborted or the last round of the interrupt transaction ended with error. Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* When the mouse is being disconnected, do the followings:n_hibma1999-05-301-4/+14
| | | | | | | | - Call ums_disable() to abort the pipe. - Do not wake up processes which has been waiting or polling for mouse data. It won't be available anymore. Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Simplistic pnp support. Needs more ids to be added.dfr1999-05-301-1/+8
|
* No support for pnp yet.dfr1999-05-303-4/+15
|
* No support for pnp devices yet.dfr1999-05-301-1/+5
|
* In pci_alloc_resource() only check start and end to see if its a default.dfr1999-05-301-2/+2
|
* Don't call disable_intr() when interrupts are already disabled, sincebde1999-05-282-6/+12
| | | | | | | disable_intr() does non-recursive locking in the SMP case. This should fix cy-driver-related panics when SMP is configured. Broken in: rev.1.73 (3.1 and -current)
* Allow a sio port with its flags set to DEBUGGER+LLCONSOLE to be used fordfr1999-05-281-2/+2
| | | | | gdb. This allows the sio probe for that port to be disabled which stops it from confusing the debugger.
* Add support for ASound Gold card using the ALS120roger1999-05-274-16/+32
| | | | | | | chipset (a vibra 16x clone) Identified automatically by its PnP ID Approved by: Luigi
* Forgotten in previous commit:gallatin1999-05-261-2/+2
| | | | | | | | | Allow chipset drivers to specify the direct-mapped DMA window's mask in preparation for tsunami support. Previous chipsets' direct-mapped DMA mask was always 1024*1024*1024. The Tsunami chipset needs it to be 2*1024*1024*1024 Reviewed by: Doug Rabson <dfr@nlsystems.com>
* Allow chipset drivers to specify the direct-mapped DMA window's mask ingallatin1999-05-262-5/+4
| | | | | | | | | | preparation for tsunami support. Previous chipsets' direct-mapped DMA mask was always 1024*1024*1024. The Tsunami chipset needs it to be 2*1024*1024*1024 These changes should not affect the i386 port Reviewed by: Doug Rabson <dfr@nlsystems.com>
* Ignore subvendor and subdevice ids for all ai7880 parts. These chipsgibbs1999-05-261-27/+21
| | | | | | | | only support 'mirroring' the vendor and device ids, so we don't lose any information. Certain revisions of the aic7880 will not perform the mirroring so to match all possiblities would double the number of table entries. This change also allows us to match things like the 2944B which I missed in the original table.
* Turn the 'dump eeprom' flag into a real option.gibbs1999-05-252-4/+8
|
* The 1542 cards do not allow adapter commands to be queued while mailboxgibbs1999-05-252-34/+90
| | | | | | | | | | | | commands are outstanding. You'd think they'd just clear the IDLE bit, but alas, no. Delay until all pending mailbox commands have completed in aha_cmd to work around this. Report sync rates correctly on Fast Adaptec cards. Clones may still be reported incorrectly since there is no documenation on how they report extended sync values. Clean up some unused fields in the aha softc.
* All cards using aic789X chips use the new eeprom format.gibbs1999-05-251-1/+4
| | | | | | Corrects bogus negotiation values on aic7890 based controllers. PR: 11872
* Rename 849 to 849A (the correct name for the IC)roger1999-05-251-2/+2
|
OpenPOWER on IntegriCloud