summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate support for oldcard by removing the compat shims.imp2005-09-201-26/+5
|
* Eliminate unused argument in PCMCIA_CARD macro.imp2005-06-241-5/+5
| | | | | | | | Provide a backwards compatible way to have the extra macro by defining PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that want/need to have the same driver on 5 and 6 with pccard attachments. Approved by: re (dwhite)
* Remove bus_{mem,p}io.h and related code for a micro-optimization on i386nyan2005-05-293-3/+0
| | | | | | and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
* Remove ifdef PC98.nyan2005-04-131-22/+0
|
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Fix disordering of pccarddevs.h noticed by bde. Also remove a fewimp2004-05-271-1/+1
| | | | | | redundant includes and fix some of the include disordering. Submitted by: bde
* Move to generating pccarddevs.h on the fly, both for the kernel andimp2004-05-261-1/+1
| | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-173-10/+9
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Use __FBSDID().obrien2003-08-244-8/+12
| | | | Also some minor style cleanups.
* In aic_reconnect()i, initialize scb. On ia64 the compiler warns aboutmarcel2003-08-231-0/+1
| | | | a possible uninitialized variable.
* Merge common XPT_CALC_GEOMETRY functions into a single convenience function.njl2003-06-141-19/+1
| | | | | | | | | | | | | Devices below may experience a change in geometry. * Due to a bug, aic(4) never used extended geometry. Changes all drives >1G to now use extended translation. * sbp(4) drives exactly 1 GB in size now no longer use extended geometry. * umass(4) drives exactly 1 GB in size now no longer use extended geometry. For all other controllers in this commit, this should be a no-op. Looked over by: scottl
* Make sure that pp_name is non-null before setting the deviceimp2003-04-101-1/+2
| | | | | description. This allows us to rely entirely on the CIS entries if necessary...
* Add second and thrid bus-toaster IDsimp2002-11-141-0/+2
|
* Be consistent about "static" functions: if the function is markedphk2002-09-281-1/+1
| | | | | | static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
* Remove __P.alfred2002-03-204-32/+32
|
* Support for LG GM82C700, an AIC6360 clone.luoqi2002-03-153-11/+39
|
* Back out the hack from rev 1.13 that was done to initiate a bus rescanjoerg2002-01-171-35/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at insert time. When asking gibbs for approval for an MFC, this was his reply: 1) It leaks memory if it can't allocate a path. 2) It defers allocation of aic->path until the call to scan the bus. This means the path may be NULL when an interrupt occurs prior to the call to scan the bus (stray bus reset for instance), which will lead to a panic. 3) The driver in current doesn't recover from the failure to allocate aic->path. The driver doesn't check during normal operation if the path is NULL, so again a panic will result. 4) aic_cam_rescan calls malloc with M_WAITOK. aic_cam_rescan is called from attach where it isn't necessarily safe to sleep. 5) And most importantly, it co-opts the xpt_periph from the driver level. This was never part of the design (xpt_periph used to be static). Making a call of this type may completely confuse the XPT if other XPT operations are ongoing. In the long term, Justin and Warner agreed to implement solution where CAM itself will initiate the bus rescan if a new bus is added. For the time being (and in particular in light of the upcoming 4.5 release), we now have camcontrol available on the boot floppy, and can have pccardd initiate the rescan through it.
* Migrate to PCMCIA_CARD() macrosimp2001-11-151-9/+3
|
* s/PCCARD_/PCMCIA_/g in NEWCARD device tables to enable easier NetBSD sharingimp2001-11-111-9/+9
|
* Merged from sys/dev/aic/aic_isa.c revision 1.8.nyan2001-06-261-7/+3
|
* Add PnP IDs for AHA-1530 and AHA-1520 cards.imp2001-06-061-1/+7
| | | | | PR: 19497, 18378 Submitted by: Martijn Plak <martijn@be3.com>
* Merged from sys/dev/aic/aic_isa.c revision 1.7.nyan2001-04-011-1/+5
|
* Fix a few things in the aic(4) driver:ken2001-03-164-7/+47
| | | | | | | | | | - enable 10MHz (fast SCSI) operation on boards that support it. (only aic6360 boards with fast SCSI enabled can do it) - bounds check sync periods and offsets passed in from the transport layer - tell the user which resource allocation failed (for the ISA probe) if we weren't able to allocate an IRQ, DRQ or I/O port.
* Turn on interrupt-entropy harvesting for all/any mass storage devicesmarkm2001-03-013-6/+6
| | | | | | | I could find. I have no doubt missed a couple. Interrupt entropy harvesting is still conditional on the kern.random.sys.harvest_interrupt sysctl.
* Sigh, nobody ever got back to me about this. So, here it is..peter2001-02-231-8/+35
| | | | Implement auto scsi scan at insert time for the aic driver.
* Use PCCARD_CIS_xxx #defines for the table of oem ids. These usuallyimp2001-01-211-6/+6
| | | | translate to all NULLs (as for all the ones in this commit).
* Add aic to the list of drivers that might work with NEWCARD. I've addedimp2001-01-081-6/+43
| | | | | the same config lines that NetBSD has. This builds with both NEWCARD and GENERIC config files.
* Add module dependencies on CAM module.imp2000-12-133-0/+3
| | | | Submitted by: Michael Reifenberger
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* remove 5 unnecessary includes, per phk's scriptimp2000-09-204-5/+0
|
* Terminate aic_ids[]brian2000-06-191-0/+1
|
* Unused include: #include "aic.h"peter2000-06-101-2/+0
|
* Back out the previous change to the queue(3) interface.jake2000-05-261-1/+1
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-1/+1
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Remove ~25 unneeded #include <sys/conf.h>phk2000-04-191-1/+0
| | | | Remove ~60 unneeded #include <sys/malloc.h>
* Remove unneeded <sys/buf.h> includes.phk2000-04-181-1/+0
| | | | | Due to some interesting cpp tricks in lockmgr, the LINT kernel shrinks by 924 bytes.
* - Added PC-98 Cbus frontend.nyan2000-03-291-0/+281
| | | | | | | - Move dev/aic/aic_isa.c entry from conf/files to conf/files.MACHINE because PC-98 uses different file. Submitted by: nyan and IMAI Takeshi <take-i@ceres.dti.ne.jp>
* Add support to aic for pccard attachments. Reports from testers haveimp2000-01-143-1/+185
| | | | | | | been so positive that I'm going to go ahead and commit this now rather than do another round of patches. My Adaptec 1460D works great with these changes.
* Adjust data pointers for untransmitted bytes in fifos when there's phaseluoqi1999-12-161-5/+13
| | | | change during data transfer.
* Disconnect and tagged queueing now really work. Also fix a bug that'sluoqi1999-12-043-101/+115
| | | | causing problems to slow devices.
* Bug fix: allow reset device command to complete.luoqi1999-10-281-1/+5
|
* Fix a typo which would result a bad REQUEST SENSE command be sent toluoqi1999-10-261-5/+19
| | | | | | a device at lun != 0. Enable tagged queueing (should it be spelled as queuing?) by default.
* A few improvements and cleanups.luoqi1999-10-211-48/+61
|
* Non-functional changes. Add some comments before I start to forget howluoqi1999-10-211-3/+111
| | | | everything works myself.
* Adaptec 6260/6360 CAM driver.luoqi1999-10-214-0/+2082
OpenPOWER on IntegriCloud