History log of /src/sys/arch/amiga/dev/cbiiisc.c |
Revision | | Date | Author | Comments |
1.23 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.22 |
| 24-Apr-2021 |
thorpej | branches: 1.22.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.21 |
| 27-Oct-2012 |
chs | branches: 1.21.18; 1.21.28; 1.21.52; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.20 |
| 10-Jan-2012 |
rkujawa | branches: 1.20.6; Changes to Phase5 hardware support: - Rework p5pb driver - simplify, cleanup, make more flexible. - Add p5membar driver, which handles PCI resources autoconfigured by the firmware. - Introduce intermediate p5bus layer, between zbus and CSPPC/BPPC on-board devices (p5pb, cbiiisc, bppcsc). - Add experimental G-REX support to p5pb (first slot support only). - Split CV64/3D PCI bridge support into separate cv3dpb driver (to be committed later).
Approved by phx.
|
1.19 |
| 20-Dec-2010 |
matt | branches: 1.19.8; 1.19.12; Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
|
1.18 |
| 05-Feb-2010 |
phx | branches: 1.18.4; Added two new macros to device.h: amiga_membarrier() enforces a reorder protection on memory read/writes. amiga_cpu_sync() makes sure the instruction pipelines are flushed. Both macros may be used in all amiga device drivers for compatibility with amigappc. For the start I fixed some SCSI drivers. cbiiisc and ahsc were tested and seem to work really fast with DMA now. Some stability problems with amigappc remain nevertheless (spontaneous kernel DSI traps with high CPU/SCSI load).
|
1.17 |
| 09-Jan-2009 |
mhitch | This driver doesn't use sicallbacks, so don't bother pre-allocating one. Probably left over from a copy/edit of the zssc driver.
|
1.16 |
| 13-Jun-2008 |
cegger | branches: 1.16.4; use device_lookup_private to get softc
|
1.15 |
| 08-Mar-2006 |
lukem | branches: 1.15.64; 1.15.66; 1.15.68; 1.15.70; 1.15.72; Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings. Add a space between numbers and Hz unit.
|
1.14 |
| 11-Dec-2005 |
christos | branches: 1.14.4; 1.14.6; 1.14.8; 1.14.10; merge ktrace-lwp.
|
1.13 |
| 28-Mar-2004 |
mhitch | branches: 1.13.16; Remove license clauses 3 and 4 in my licenses.
|
1.12 |
| 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.11 |
| 09-Apr-2003 |
thorpej | branches: 1.11.2; Use PAGE_SIZE rather than NBPG.
|
1.10 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.9 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.8 |
| 28-Jan-2002 |
aymeric | add __KERNEL_RCSID as suggested by Luke Mewburn
|
1.7 |
| 26-Jan-2002 |
aymeric | - ANSIfy - remove some trailing spaces/tabs - minor style nits
|
1.6 |
| 25-Apr-2001 |
bouyer | branches: 1.6.2; 1.6.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.5 |
| 07-Jun-1999 |
is | branches: 1.5.2; 1.5.14; Check for an unterminated bus; if yes: complain and don't try to use this bus. Without this, cbiiisc used to hang if nothing was connected. Reported by Matthias Scheler. A similar method to avoid this was suggested by Ralph Schmidt.
|
1.4 |
| 06-Jun-1999 |
is | Don't dump all the registers at attach time. It works now.
|
1.3 |
| 26-Mar-1999 |
mhitch | branches: 1.3.2; 1.3.4; 1.3.6; More 53c770 stuff: update 53c720/770 register defines and use them in siop2.c. Add wide negotiation and Ultra support. Modify siop.c to match the siop2.c sync negotiation changes. The CyberStorm MKIII driver now supports 15 targets. Remove some old table-driven sync rate stuff from the original Zeus driver.
|
1.2 |
| 09-Mar-1999 |
is | The SCSI clock is 50 MHz for this board.
|
1.1 |
| 07-Mar-1999 |
is | Added very preliminary version of Symbios 53c7[27]0c driver and Cyberstorm Mk. III SCSI backend, by Michael Hitch. XXX No wide transfers supported at the moment.
|
1.3.6.1 |
| 30-Nov-1999 |
itojun | bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch just for reference purposes. This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other source code). Please do not try to modify the branch, this is just for referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
|
1.3.4.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.3.2.1 |
| 22-Jun-1999 |
perry | pullup 1.4->1.5 (is): disable adapter if completely unterminated
|
1.5.14.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.5.2.3 |
| 29-Mar-2001 |
bouyer | Make these pass a compile test on i386.
|
1.5.2.2 |
| 29-Mar-2001 |
bouyer | Port to thorpej_scsipi.
|
1.5.2.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.6.8.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.6.8.2 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.6.8.1 |
| 25-Apr-2001 |
nathanw | file cbiiisc.c was added on branch nathanw_sa on 2002-02-28 04:06:34 +0000
|
1.6.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.6.2.1 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.11.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.11.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.11.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.13.16.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.14.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.14.8.1 |
| 13-Mar-2006 |
yamt | sync with head.
|
1.14.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.14.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.15.72.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.15.70.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.15.68.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.15.68.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.15.66.1 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.15.64.2 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.15.64.1 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.16.4.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.18.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.19.12.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.19.8.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.19.8.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.20.6.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.21.52.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.21.28.1 |
| 27-Apr-2017 |
pgoyette | Restore all work from the former pgoyette-localcount branch (which is now abandoned doe to cvs merge botch).
The branch now builds, and installs via anita. There are still some problems (cgd is non-functional and all atf tests time-out) but they will get resolved soon.
|
1.21.18.2 |
| 20-Jul-2016 |
pgoyette | Redo previous. Rather than separately extracting the device_t, we can rely on sc->sc_dev when we need to call device_release().
|
1.21.18.1 |
| 19-Jul-2016 |
pgoyette | Instead of repeatedly typing the conditional initialization of the .d_localcount members in the various {b,c}devsw, define an initializer macro and use it. This also removes the need for defining new symbols for each 'struct localcount'.
As suggested by riastradh@
|
1.22.8.1 |
| 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|