History log of /src/sys/arch/acorn32/podulebus/cosc.c |
Revision | | Date | Author | Comments |
1.22 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.21 |
| 24-Apr-2021 |
thorpej | branches: 1.21.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.20 |
| 25-Oct-2014 |
skrll | branches: 1.20.34; Remove katelib.h and references to it.
{Read,Write}{Word,Byte} macros are provided in the files that still use them. Someone(tm) should convert them to bus_space(9)
|
1.19 |
| 21-Jan-2014 |
christos | fix unused variable
|
1.18 |
| 27-Oct-2012 |
chs | branches: 1.18.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.17 |
| 03-Jun-2011 |
matt | branches: 1.17.2; 1.17.12; device_t, cfdata_t, device_private, device_xname cleanup CFATTACH_DECL_NEW for struct device only devices bump SYMTAB_SPACE for EB7500ATX
|
1.16 |
| 12-May-2009 |
cegger | branches: 1.16.4; 1.16.6; 1.16.10; use device_xname()
|
1.15 |
| 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
1.14 |
| 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.13 |
| 11-Dec-2005 |
christos | branches: 1.13.80; 1.13.88; 1.13.94; merge ktrace-lwp.
|
1.12 |
| 14-Jul-2003 |
lukem | use __KERNEL_RCSID() in a consistent manner
|
1.11 |
| 01-Apr-2003 |
thorpej | branches: 1.11.2; Use PAGE_SIZE rather than NBPG.
|
1.10 |
| 05-Oct-2002 |
chs | add missing protos, clean up includes.
|
1.9 |
| 02-Oct-2002 |
thorpej | Fix script-o's in previous.
|
1.8 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.7 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.6 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
1.5 |
| 05-Aug-2002 |
bjh21 | Rather than forcing on XS_POLL in SCSI transfers ourselves, set SCSIPI_ADAPT_POLL_ONLY to tell the MI scsipi layer to do it for us. This, plus G/Cing some debugging code, removes the card-specific scsi_request wrappers.
|
1.4 |
| 22-May-2002 |
bjh21 | Substantial overhaul of podule IDs. Unlike on PCI or USB, podule IDs are assigned by RISCOS Ltd (and were assigned by Acorn) to be unique across all manufacturers. This means that associating each one with a manufacturer (and checking the manufacturer when attaching) is bogus. Thus, we don't do that any more.
This should have the pleasant side-effect of getting APDL IDE interfaces working, since they're just ICS ones with a different manufacturer ID.
|
1.3 |
| 27-Nov-2001 |
thorpej | branches: 1.3.2; 1.3.10; 1.3.12; Use <machine/intr.h>, not <machine/irqhandler.h>
|
1.2 |
| 22-Nov-2001 |
thorpej | Kill <machine/katelib.h>. Any place that still uses it should just reference <arm/arm32/katelib.h> until such time as all use of this file has been purged from the face of the earth.
|
1.1 |
| 05-Oct-2001 |
reinoud | branches: 1.1.4; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.4.5 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.4.4 |
| 13-Aug-2002 |
nathanw | Catch up to -current.
|
1.1.4.3 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
1.1.4.2 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.1.4.1 |
| 05-Oct-2001 |
nathanw | file cosc.c was added on branch nathanw_sa on 2002-01-08 00:22:46 +0000
|
1.3.12.1 |
| 01-Nov-2002 |
tron | Pull up revision 1.4 (requested by chris in ticket #120): Substantial overhaul of podule IDs. Unlike on PCI or USB, podule IDs are assigned by RISCOS Ltd (and were assigned by Acorn) to be unique across all manufacturers. This means that associating each one with a manufacturer (and checking the manufacturer when attaching) is bogus. Thus, we don't do that any more. This should have the pleasant side-effect of getting APDL IDE interfaces working, since they're just ICS ones with a different manufacturer ID.
|
1.3.10.2 |
| 30-Aug-2002 |
gehenna | catch up with -current.
|
1.3.10.1 |
| 30-May-2002 |
gehenna | Catch up with -current.
|
1.3.2.5 |
| 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.3.2.4 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.3.2.3 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.3.2.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.3.2.1 |
| 27-Nov-2001 |
thorpej | file cosc.c was added on branch kqueue on 2002-01-10 19:36:31 +0000
|
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.94.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.13.88.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.13.80.2 |
| 16-May-2009 |
yamt | sync with head
|
1.13.80.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.16.10.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.16.6.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.16.4.1 |
| 12-Jun-2011 |
rmind | sync with head
|
1.17.12.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.17.12.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.17.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.17.2.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.17.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.18.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.20.34.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.8.1 |
| 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|