Home | History | Annotate | only in /src/sys/dev/xmi
History log of /src/sys/dev/xmi
RevisionDateAuthorComments
 1.9 12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.8 12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.7 11-Mar-2008  matt branches: 1.7.4; 1.7.18;
Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
code. Move to prototype definitions. staticfy, constify, avoid casting.
Use device_* accessors.
 1.6 19-Oct-2007  ad branches: 1.6.12; 1.6.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.5 02-Oct-2002  thorpej branches: 1.5.22; 1.5.64; 1.5.78; 1.5.80; 1.5.84;
Add trailing ; to CFATTACH_DECL.
 1.4 01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 13-Nov-2001  lukem add RCSIDs
 1.1 06-Jul-2000  ragge branches: 1.1.2; 1.1.4; 1.1.6;
Initial support for the XMI bus on VAX, MIPS and Alpha systems.
Not completely finished yet.
 1.1.6.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.1.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.4.1 14-Nov-2001  nathanw Catch up to -current.
 1.1.2.2 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.
 1.1.2.1 06-Jul-2000  bouyer file bi_xmi.c was added on branch thorpej_scsipi on 2000-11-20 11:43:41 +0000
 1.5.84.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.80.2 23-Mar-2008  matt sync with HEAD
 1.5.80.1 06-Nov-2007  matt sync with HEAD
 1.5.78.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.5.64.1 23-Oct-2007  ad Sync with head.
 1.5.22.2 17-Mar-2008  yamt sync with head.
 1.5.22.1 27-Oct-2007  yamt sync with head.
 1.6.16.1 03-Apr-2008  mjf Sync with HEAD.
 1.6.12.1 24-Mar-2008  keiichi sync with head.
 1.7.18.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.4.1 16-May-2009  yamt sync with head
 1.2 11-Mar-2008  matt Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
code. Move to prototype definitions. staticfy, constify, avoid casting.
Use device_* accessors.
 1.1 15-Jun-2000  ragge branches: 1.1.4; 1.1.6; 1.1.46; 1.1.104; 1.1.124; 1.1.128;
"files" file for the XMI bus.
 1.1.128.1 03-Apr-2008  mjf Sync with HEAD.
 1.1.124.1 24-Mar-2008  keiichi sync with head.
 1.1.104.1 23-Mar-2008  matt sync with HEAD
 1.1.46.1 17-Mar-2008  yamt sync with head.
 1.1.6.2 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.
 1.1.6.1 15-Jun-2000  bouyer file files.xmi was added on branch thorpej_scsipi on 2000-11-20 11:43:41 +0000
 1.1.4.2 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 15-Jun-2000  minoura file files.xmi was added on branch minoura-xpg4dl on 2000-06-22 17:08:56 +0000
 1.13 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.12 24-Apr-2021  thorpej branches: 1.12.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.11 13-Nov-2010  uebayasi branches: 1.11.76;
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.10 11-Mar-2008  matt branches: 1.10.26;
Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
code. Move to prototype definitions. staticfy, constify, avoid casting.
Use device_* accessors.
 1.9 19-Oct-2007  ad branches: 1.9.12; 1.9.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.8 04-Mar-2007  christos branches: 1.8.2; 1.8.14; 1.8.16; 1.8.20;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.7 11-Dec-2005  christos branches: 1.7.26;
merge ktrace-lwp.
 1.6 27-Feb-2005  perry branches: 1.6.4;
nuke trailing whitespace
 1.5 01-Apr-2003  thorpej branches: 1.5.2; 1.5.10; 1.5.12;
Use PAGE_SIZE rather than NBPG.
 1.4 01-Jan-2003  thorpej Oops, missed a printf that should be an aprint_normal.
 1.3 01-Jan-2003  thorpej Use aprint_normal() in cfprint routines.
 1.2 13-Nov-2001  lukem add RCSIDs
 1.1 06-Jul-2000  ragge branches: 1.1.2; 1.1.4; 1.1.6;
Initial support for the XMI bus on VAX, MIPS and Alpha systems.
Not completely finished yet.
 1.1.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.2 03-Jan-2003  thorpej Sync with HEAD.
 1.1.4.1 14-Nov-2001  nathanw Catch up to -current.
 1.1.2.2 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.
 1.1.2.1 06-Jul-2000  bouyer file xmi.c was added on branch thorpej_scsipi on 2000-11-20 11:43:41 +0000
 1.5.12.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.5.10.1 29-Apr-2005  kent sync with -current
 1.5.2.1 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.6.4.3 17-Mar-2008  yamt sync with head.
 1.6.4.2 27-Oct-2007  yamt sync with head.
 1.6.4.1 03-Sep-2007  yamt sync with head.
 1.7.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.8.20.1 25-Oct-2007  bouyer Sync with HEAD.
 1.8.16.2 23-Mar-2008  matt sync with HEAD
 1.8.16.1 06-Nov-2007  matt sync with HEAD
 1.8.14.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.8.2.1 23-Oct-2007  ad Sync with head.
 1.9.16.1 03-Apr-2008  mjf Sync with HEAD.
 1.9.12.1 24-Mar-2008  keiichi sync with head.
 1.10.26.1 05-Mar-2011  rmind sync with head
 1.11.76.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.12.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.1 06-Jul-2000  ragge branches: 1.1.2;
Initial support for the XMI bus on VAX, MIPS and Alpha systems.
Not completely finished yet.
 1.1.2.2 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.
 1.1.2.1 06-Jul-2000  bouyer file xmireg.h was added on branch thorpej_scsipi on 2000-11-20 11:43:41 +0000
 1.3 12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.2 11-Mar-2008  matt branches: 1.2.4; 1.2.18;
Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
code. Move to prototype definitions. staticfy, constify, avoid casting.
Use device_* accessors.
 1.1 06-Jul-2000  ragge branches: 1.1.2; 1.1.42; 1.1.100; 1.1.120; 1.1.124;
Initial support for the XMI bus on VAX, MIPS and Alpha systems.
Not completely finished yet.
 1.1.124.1 03-Apr-2008  mjf Sync with HEAD.
 1.1.120.1 24-Mar-2008  keiichi sync with head.
 1.1.100.1 23-Mar-2008  matt sync with HEAD
 1.1.42.1 17-Mar-2008  yamt sync with head.
 1.1.2.2 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.
 1.1.2.1 06-Jul-2000  bouyer file xmivar.h was added on branch thorpej_scsipi on 2000-11-20 11:43:42 +0000
 1.2.18.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.2.4.1 16-May-2009  yamt sync with head

RSS XML Feed