History log of /src/sys/arch/amiga/dev/empsc.c |
Revision | | Date | Author | Comments |
1.30 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.29 |
| 24-Apr-2021 |
thorpej | branches: 1.29.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.28 |
| 22-Jan-2014 |
christos | branches: 1.28.44; gcc-4.8.x unused variable fixes
|
1.27 |
| 27-Oct-2012 |
chs | branches: 1.27.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.26 |
| 11-Dec-2005 |
christos | branches: 1.26.112; 1.26.122; merge ktrace-lwp.
|
1.25 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.24 |
| 02-Oct-2002 |
thorpej | branches: 1.24.6; Use CFATTACH_DECL().
|
1.23 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.22 |
| 28-Jan-2002 |
aymeric | add __KERNEL_RCSID as suggested by Luke Mewburn
|
1.21 |
| 26-Jan-2002 |
aymeric | - ANSIfy - remove some trailing spaces/tabs - minor style nits
|
1.20 |
| 25-Apr-2001 |
bouyer | branches: 1.20.2; 1.20.8; Pull up the thorpej_scsipi branch to main branch. This is a completely rewritten scsipi_xfer execution engine, and the associated changes to HBA drivers. Overview of changes & features: - All xfers are queued in the mid-layer, rather than doing so in an ad-hoc fashion in individual adapter drivers. - Adapter/channel resource management in the mid-layer, avoids even trying to start running an xfer if the adapter/channel doesn't have the resources. - Better communication between the mid-layer and the adapters. - Asynchronous event notification mechanism from adapter to mid-layer and peripherals. - Better peripheral queue management: freeze/thaw, sorted requeueing during recovery, etc. - Clean separation of peripherals, adapters, and adapter channels (no more scsipi_link). - Kernel thread for each scsipi_channel makes error recovery much easier (no more dealing with interrupt context when recovering from an error). - Mid-layer support for tagged queueing: commands can have the tag type set explicitly, tag IDs are allocated in the mid-layer (thus eliminating the need to use buggy tag ID allocation schemes in many adapter drivers). - support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command will be requeued, or a REQUEST SENSE will be sent as appropriate.
Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
|
1.19 |
| 10-Jan-1999 |
tron | branches: 1.19.8; 1.19.20; Don't use void pointer for arithmetic.
|
1.18 |
| 05-Dec-1998 |
mjacob | Update HBAs to incorporate the new max_lun property.
|
1.17 |
| 19-Nov-1998 |
thorpej | Adapt to the new scsipi_adapter interface.
|
1.16 |
| 10-Oct-1998 |
thorpej | Garbage-collect the open_target_lu and close_target_lu entry points from struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be used to issue ioctl commands to the host adapters.
Inspired by PR #6090, from Matt Jacob.
|
1.15 |
| 12-Jan-1998 |
thorpej | Adjust for changes to config.
|
1.14 |
| 27-Aug-1997 |
bouyer | Merge scsipi branch in the mainline. This add support for ATAPI devices (currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2 busses to which devices can attach (scsibus and atapibus). This needed to change some include files and structure names in the low level scsi drivers.
|
1.13 |
| 23-Dec-1996 |
veego | branches: 1.13.8; 1.13.10; Get rid of __BROKEN_INDIRECT_CONFIG.
|
1.12 |
| 10-Dec-1996 |
thorpej | Fill in sc_link.max_target
|
1.11 |
| 13-Oct-1996 |
christos | backout previous kprintf change
|
1.10 |
| 10-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.9 |
| 28-Aug-1996 |
cgd | (1) set scsi_link channel to either the appropriate channel (if a multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a single-channel driver. (2) use scsiprint() rather than a locally-defined autoconfig print function, and kill any locally-defined print function.
|
1.8 |
| 27-Aug-1996 |
cgd | change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
|
1.7 |
| 10-May-1996 |
is | Back out last change, which was caused by a wrong way merge at home. Sorry for the inconvenience.
|
1.6 |
| 09-May-1996 |
is | First part of M68060 and DraCo support.
* for the M68060 part: store buffer and branch target cache aren't enabled yet (this needs cleanup of lots of locore.s code which is a maze of little passages, all a little different) (and it wasn't yet tested in an accellerated Amiga, only in the DraCo).
I've included a workaround for 2 of the CPU bugs in chips with Masks 1F43G and earlier, but didn't bother to deal with the can of worms in the [0-3]D11W chips. Be sure to get "68060 rev. 1" or more reported at kernel startup time, or at least mention it (or the mask revision, if available) when reporting problems.
* for the DraCo: only machines with a CIA timer.
I assigned machine id 32000+nn (0x7Dnn), where n is the machine readable Quicklogic custom chip revision (also printed at boot time). "Guaranteed to work" up to rev. 3, newer DraCo's aren't guaranteed to have any CIA (we don't have a driver for the new timer yet).
Supported are:
- MF-II keyboards on the native interface and A3000 keyboards via the CIA. - builtin SCSI interface (yet another instance of siop) - CIA timer. - Zorro II devices which don't do DMA (don't get mapped to Zorro II address space in the DraCo) - "local bus" devices which are autoconfigured by the boot rom (should be all); only an Altais driver is there (looks like a Retina Z3)
Not yet supported are:
- native timer of newer machines. - Real Time Clock. - serial, parallel + floppy on the SuperIO chip (that is also: no mouse)
XXX You need an enhanced boot loader, which will committed in a few days.
XXX std.draco should and will go away.
|
1.5 |
| 21-Apr-1996 |
veego | - Cleanup for -Wall and -Wstrict-prototypes - Added support for multiple floppy drives - CyberVision64: - has now a real console mode - another bugfix for boards with the new S3 chip - Ariadne: - fixed crashes with aeput (mbuf failure)
|
1.4 |
| 05-Apr-1996 |
is | Typo in the new new config conversion fixed.
|
1.3 |
| 28-Mar-1996 |
is | The interrupt routine of the ivsc (and the empsc, which seems to have copied it) looks truncated. At least the return(1) is missing, which I now add as a first stopgap. Somebody needs to find out if anything else is missing for these boards.
|
1.2 |
| 28-Mar-1996 |
is | Adapt to new attach scheme. Fix operator precedence error. Normalize function name prefixes.
|
1.1 |
| 28-Mar-1996 |
is | Emplant SCSI driver backend by Sean Riddle and Bo Najdrovsky.
|
1.13.10.1 |
| 27-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.13.8.1 |
| 01-Jul-1997 |
bouyer | Updates for new scsipi subsystem. Actally known to work on i386 and sparc.
|
1.19.20.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.19.8.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
I updated the amiga SCSI drivers, but completely untested yet (may not even compile)
|
1.20.8.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.20.8.2 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.20.8.1 |
| 25-Apr-2001 |
nathanw | file empsc.c was added on branch nathanw_sa on 2002-02-28 04:06:35 +0000
|
1.20.2.2 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.20.2.1 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.24.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.24.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.24.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.26.122.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.26.122.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.26.112.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.26.112.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.27.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.28.44.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.29.8.1 |
| 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|