History log of /src/sys/arch/amiga/dev/wesc.c |
Revision | | Date | Author | Comments |
1.42 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.41 |
| 24-Apr-2021 |
thorpej | branches: 1.41.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.40 |
| 27-Oct-2012 |
chs | branches: 1.40.18; 1.40.28; 1.40.52; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.39 |
| 20-Dec-2010 |
matt | branches: 1.39.8; 1.39.18; 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.38 |
| 13-Jun-2008 |
cegger | branches: 1.38.18; use device_lookup_private to get softc
|
1.37 |
| 05-Mar-2007 |
he | branches: 1.37.40; 1.37.42; 1.37.44; 1.37.46; 1.37.48; Cast to char* before doing pointer arithmetic.
|
1.36 |
| 04-Mar-2007 |
christos | Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.35 |
| 08-Mar-2006 |
lukem | branches: 1.35.16; Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings. Add a space between numbers and Hz unit.
|
1.34 |
| 11-Dec-2005 |
christos | branches: 1.34.4; 1.34.6; 1.34.8; 1.34.10; merge ktrace-lwp.
|
1.33 |
| 28-Mar-2004 |
mhitch | branches: 1.33.16; Remove license clauses 3 and 4 in my licenses.
|
1.32 |
| 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.31 |
| 09-Apr-2003 |
thorpej | branches: 1.31.2; Use PAGE_SIZE rather than NBPG.
|
1.30 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.29 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.28 |
| 28-Jan-2002 |
aymeric | add __KERNEL_RCSID as suggested by Luke Mewburn
|
1.27 |
| 26-Jan-2002 |
aymeric | - ANSIfy - remove some trailing spaces/tabs - minor style nits
|
1.26 |
| 25-Apr-2001 |
bouyer | branches: 1.26.2; 1.26.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.25 |
| 10-Jan-1999 |
tron | branches: 1.25.8; 1.25.20; Don't use void pointer for arithmetic.
|
1.24 |
| 05-Dec-1998 |
mjacob | Update HBAs to incorporate the new max_lun property.
|
1.23 |
| 19-Nov-1998 |
thorpej | Adapt to the new scsipi_adapter interface.
|
1.22 |
| 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.21 |
| 12-Jan-1998 |
thorpej | Adjust for changes to config.
|
1.20 |
| 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.19 |
| 23-Dec-1996 |
veego | branches: 1.19.8; 1.19.10; Get rid of __BROKEN_INDIRECT_CONFIG.
|
1.18 |
| 10-Dec-1996 |
thorpej | Fill in sc_link.max_target
|
1.17 |
| 13-Oct-1996 |
christos | backout previous kprintf change
|
1.16 |
| 10-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.15 |
| 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.14 |
| 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.13 |
| 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.12 |
| 17-Mar-1996 |
thorpej | New device attachment scheme:
- split softc size and match/attach out from cfdriver into a new struct cfattach.
- new "attach" directive for files.*. May specify the name of the cfattach structure, so that devices may be easily attached to parents with different autoconfiguration semantics.
|
1.11 |
| 15-Mar-1996 |
mhitch | Correct 53c710 initialization for the A4000T. Remove the A4000T probe debugging output.
|
1.10 |
| 16-Sep-1995 |
chopps | Add minimal dumpfile support. Fix a bug in pt_enter_ptpage which caused MMU faults on low-mem conditions. Change siop drivers to better handle sync. Remove diag. done for ide -- its redundant as the ROM does similar. fixed ite_filter to not panic if typing before the device is fully setup All thanks to osymh@gemini.oscs.montana.edu (Michael L. Hitch)
|
1.9 |
| 18-Aug-1995 |
chopps | SCSI disconnects: siop from osymh@gemini.oscs.montana.edu (Michael L. Hitch) and sbic from "Eduardo E. Horvath eeh@btr.com" <eeh@btr.btr.com>
Other cleanup (remove cpu040) and enabling IVS A500 support from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
|
1.8 |
| 12-Feb-1995 |
chopps | Many changes from osymh@gemini.oscs.montana.edu (Michael L. Hitch) Now use amiga HW for soft interrupts, non-contig options (2 or many chunks), interrupt handler lists, 4066 ethernet, 1291 scsi, option to defer level 6 interrupts to level 4 (deal with icky built-in serial port)
|
1.7 |
| 05-Jan-1995 |
chopps | catchup with scsi changes from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
|
1.6 |
| 28-Dec-1994 |
chopps | consolidate the zbusses. le support for multiple tx buffs and full use of 32k RAM. AGA dbl PAL mode added for console. Many changes to siop--most not yet done. All from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
|
1.5 |
| 01-Dec-1994 |
chopps | bring up to current. change sun to sunos. handle changes in device open params and autoconf match function params.
|
1.4 |
| 26-Oct-1994 |
cgd | new RCS ID format.
|
1.3 |
| 16-Jun-1994 |
chopps | fix boot diag output.
|
1.2 |
| 14-Jun-1994 |
chopps | don't flush cache on context switches for 040's, reduce flushing on dma operations. code from me and Michael Hitch
|
1.1 |
| 12-May-1994 |
chopps | new scsi siop drivers and zthreebus support from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
|
1.19.10.1 |
| 27-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.19.8.1 |
| 01-Jul-1997 |
bouyer | Updates for new scsipi subsystem. Actally known to work on i386 and sparc.
|
1.25.20.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.25.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.26.8.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.26.8.2 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.26.8.1 |
| 25-Apr-2001 |
nathanw | file wesc.c was added on branch nathanw_sa on 2002-02-28 04:07:02 +0000
|
1.26.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.26.2.1 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.31.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.31.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.31.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.33.16.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.33.16.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.34.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.34.8.1 |
| 13-Mar-2006 |
yamt | sync with head.
|
1.34.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.34.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.35.16.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.37.48.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.37.46.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.37.44.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.37.42.1 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.37.40.1 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.38.18.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.39.18.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.39.8.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.40.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.40.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.40.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.40.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.41.8.1 |
| 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|