summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa
Commit message (Collapse)AuthorAgeFilesLines
* Add a hook for a bus to detect child devices which didn't find drivers.dfr1999-07-111-2/+21
| | | | | | This allows the bus to print an informative message about unknown devices. Submitted by: Matthew N. Dodd <winter@jurai.net>
* Convert the if_fea (DEC FDDI) driver to newbus since it has been brokenpeter1999-07-101-400/+170
| | | | | | | for ages. This is the EISA wrapper for sys/dev/pdq/*. The pci bus driver is in sys/pci/if_fpa.c. Submitted by: "Matthew N. Dodd" <winter@jurai.net>
* Handle suspend/resume methodspeter1999-06-221-1/+3
| | | | Obtained from: Warner Losh <imp@freebsd.org>
* Fix a [start,end] vs [start,count] botch that corrupted the resourcepeter1999-05-241-3/+3
| | | | | | | | manager and prevented IOPort allocation beyond the first EISA slot from working. subr_rman.c should have trapped this on the way into the system rather than tripping over the wreckage. Head banged into wall repeatedly by: "Matthew N. Dodd" <winter@jurai.net>
* Don't detect an EISA bus unless we see a "card" there somewhere. An EISApeter1999-05-181-2/+10
| | | | | | | | motherboard will have a card for the "motherboard" on slot 0. eisa0: <EISA bus> on motherboard mainboard0: <ASU5101 (System Board)> at slot 0 on eisa0 This should stop the probe "detecting" an EISA bus everywhere that has a 'controller eisa0' line regardless of whether it's really there.
* Correct the comment for the last commit.gibbs1999-05-171-1/+1
| | | | | | | Clean up the handling of failure modes in our attach so we don't free resources twice. ahc_free() will do all of the work for us (as would be required by an unload event) so we only need to handle resources that the softc has not taken ownership of.
* Fix whitespace. Correct a comment.gibbs1999-05-171-15/+18
|
* Move the declaration of the interrupt type from the driver structuredfr1999-05-088-21/+12
| | | | to the BUS_SETUP_INTR call.
* Use consistant function definitions which also silences a warning.peter1999-05-061-20/+8
|
* Add a number of interrelated CAM feature enhancements and bug fixes.ken1999-05-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: These changes will require recompilation of any userland applications, like cdrecord, xmcd, etc., that use the CAM passthrough interface. A make world is recommended. camcontrol.[c8]: - We now support two new commands, "tags" and "negotiate". - The tags commands allows users to view the number of tagged openings for a device as well as a number of other related parameters, and it allows users to set tagged openings for a device. - The negotiate command allows users to enable and disable disconnection and tagged queueing, set sync rates, offsets and bus width. Note that not all of those features are available for all controllers. Only the adv, ahc, and ncr drivers fully support all of the features at this point. Some cards do not allow the setting of sync rates, offsets and the like, and some of the drivers don't have any facilities to do so. Some drivers, like the adw driver, only support enabling or disabling sync negotiation, but do not support setting sync rates. - new description in the camcontrol man page of how to format a disk - cleanup of the camcontrol inquiry command - add support in the 'devlist' command for skipping unconfigured devices if -v was not specified on the command line. - make use of the new base_transfer_speed in the path inquiry CCB. - fix CCB bzero cases cam_xpt.c, cam_sim.[ch], cam_ccb.h: - new flags on many CCB function codes to designate whether they're non-immediate, use a user-supplied CCB, and can only be passed from userland programs via the xpt device. Use these flags in the transport layer and pass driver to categorize CCBs. - new flag in the transport layer device matching code for device nodes that indicates whether a device is unconfigured - bump the CAM version from 0x10 to 0x11 - Change the CAM ioctls to use the version as their group code, so we can force users to recompile code even when the CCB size doesn't change. - add + fill in a new value in the path inquiry CCB, base_transfer_speed. Remove a corresponding field from the cam_sim structure, and add code to every SIM to set this field to the proper value. - Fix the set transfer settings code in the transport layer. scsi_cd.c: - make some variables volatile instead of just casting them in various places - fix a race condition in the changer code - attach unless we get a "logical unit not supported" error. This should fix all of the cases where people have devices that return weird errors when they don't have media in the drive. scsi_da.c: - attach unless we get a "logical unit not supported" error scsi_pass.c: - for immediate CCBs, just malloc a CCB to send the user request in. This gets rid of the 'held' count problem in camcontrol tags. scsi_pass.h: - change the CAM ioctls to use the CAM version as their group code. adv driver: - Allow changing the sync rate and offset separately. adw driver - Allow changing the sync rate and offset separately. aha driver: - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs. ahc driver: - Allow setting offset and sync rate separately bt driver: - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs. NCR driver: - Fix the ultra/ultra 2 negotiation bug - allow setting both the sync rate and offset separately Other HBA drivers: - Put code in to set the base_transfer_speed field for XPT_GET_TRAN_SETTINGS CCBs. Reviewed by: gibbs, mjacob (isp), imp (aha)
* These two drivers have not been converted for newbus eisa yet.peter1999-05-021-1/+4
|
* Typo, use SYS_RES_IRQ when releasing the irq resource, not SYS_RES_IOPORT.peter1999-04-241-2/+2
|
* ahb.c:gibbs1999-04-232-26/+18
| | | | | | | Synchronize malloc types for our softc. ahc_eisa.c: Sync to aic7xxx driver bus dma and new bus changes.
* Make bt driver work on eisa again.dfr1999-04-201-2/+2
| | | | Submitted by: Matthew N. Dodd <winter@jurai.net>
* GC some now unused (and #if 0) code.peter1999-04-191-321/+3
|
* EISA can (or will) be a child of the i386 nexus on non-PCI systems.peter1999-04-191-1/+2
|
* Set the bus description for EISA, like it is for ISA.peter1999-04-191-2/+3
|
* Implement an EISA new-bus framework. The old driver probe mechanismpeter1999-04-189-973/+1141
| | | | | | | | | had a quirk that made a shim rather hard to implement properly and it was just easier to convert the drivers in one go. The changes to the buslogic driver go beyond just this - the whole driver was new-bus'ed including pci and isa. I have only tested the EISA part of this so far. Submitted by: Doug Rabson <dfr@nlsystems.com>
* Staticize.eivind1999-04-111-2/+2
|
* Fix a typo.gibbs1999-03-231-2/+2
| | | | | PR: 10722 Submitted by: Chris Costello <chris@holly.dyndns.org>
* Ask the card where our interrupt is instead of attempting to use the EISAgibbs1999-03-081-85/+31
| | | | | | config info. On early revision cards (742a), the EISA register space, other than the location used to determine the address of the card's main command ports, is write only.
* Poll for bus reset completion instead of assuming that our interruptgibbs1999-03-051-2/+7
| | | | is enabled.
* Modify to deal with changes in the storage of user negotiation settings.gibbs1999-03-051-4/+6
|
* Correct test in poll loop for determining that the mailbox is free togibbs1999-01-281-7/+2
| | | | accept a new command.
* Fix parenthesization, but the code still looks wrong.dillon1999-01-281-2/+7
|
* Replace includes of <sys/kernel.h> with includes ofjdp1999-01-141-2/+2
| | | | | <sys/linker_set.h> in those files that use only the linker set definitions.
* Switch type of vxintr instead of using the previous casts.eivind1999-01-121-2/+2
| | | | Requested by: bde
* Silence warnings.eivind1999-01-121-2/+2
|
* The previous commit was bogus. malloc(..., M_WAITOK) should not bebde1999-01-011-2/+6
| | | | | | | used in device attach routines. At least for attaches at boot time, actually waiting, or actually failing for malloc(..., M_NOWAIT), are almost equally unlikely and harmless, but using M_WAITOK interferes with automatic detection of bogus M_WAITOK's.
* Staticize the overrun buffer so that they are not shared betweengibbs1998-12-221-4/+4
| | | | | | | cards of different bus types as each bus type may have a different bus mapping. Submitted by: Eivind Eklund <eivind@yes.no>
* Pull in new ccb_hdr list types.gibbs1998-12-151-1/+2
|
* malloc(xxx, yyy, M_WAITOK) does not fail. This probably explains whyeivind1998-12-091-6/+2
| | | | the bug in the check had never been discovered.
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-041-3/+3
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* Bring back support for honoring the primary channel setting for twin channelgibbs1998-10-151-3/+12
| | | | | | | EISA adapters. This could have caused the system to find the wrong root disk. Reviewed by: J Wunsch <j@ida.interface-business.de>
* Hook up ahapoll so that dumps, synchronize cache commands or any othergibbs1998-10-091-1/+2
| | | | command that comes in through xpt_polled_action works correctly.
* Pass termination information via softc flags to the core driver. Thegibbs1998-10-091-13/+19
| | | | EISA probe missed out on this change in attach->core API.
* Use %p with (void *) casts to print pointers with printf.gibbs1998-09-171-4/+4
|
* Fix printf format bugs.gibbs1998-09-161-17/+18
|
* Obsolteted by CAM.gibbs1998-09-153-2189/+0
|
* Conver the DPT driver to CAM. The dpt_control interface is not yetgibbs1998-09-152-324/+97
| | | | functional, but will be in another day or so.
* Mylex/Buslogic MultiMaster SCSI-Host Adapter Driver for CAM.gibbs1998-09-151-0/+392
|
* Move to new name and convert to CAM.gibbs1998-09-151-0/+459
|
* Adaptec 174x EISA SCSI Host Adapter driver for CAM.gibbs1998-09-152-0/+1627
|
* EISA bus attachment for the AdvanSys driver.gibbs1998-09-151-0/+354
|
* Fixed printf format errors. Only one left in LINT on i386's.bde1998-08-241-4/+4
|
* MF22: Shut this thing up by default.jkh1998-08-091-2/+2
|
* Fixed printf format errors (only 1 left in GENERIC now).bde1998-07-131-2/+2
|
* Add support for the Storage Dimensions SDC3222F.gibbs1998-06-141-1/+5
| | | | | PR: 6261 Submitted by: "Matthew N. Dodd" <winter@jurai.net>
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-081-4/+4
| | | | | | | or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
* Include "eisa.h" and only provide code if NEISA > 0.gibbs1998-05-171-1/+4
|
OpenPOWER on IntegriCloud