Home | History | Annotate | Download | only in eisa
History log of /src/sys/dev/eisa/mlx_eisa.c
RevisionDateAuthorComments
 1.30  12-Jul-2022  thorpej Remove unneeded bus_space_barrier() calls.
 1.29  24-Jul-2021  thorpej Noralize autoconfiguration messages, and report interrupt trigger type.
 1.28  24-Apr-2021  thorpej branches: 1.28.2;
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.27  27-Jan-2021  thorpej branches: 1.27.2;
Use eisa_compatible_{match,lookup}().
 1.26  27-Sep-2016  pgoyette branches: 1.26.30;
Modularize the ld driver and all of its attachments. Ensure that all
parents are capable of rescan (or otherwise provide a means of attaching
children post-initialization).
 1.25  14-Jul-2016  msaitoh branches: 1.25.2;
- Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.
 1.24  29-Mar-2014  christos branches: 1.24.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.23  27-Oct-2012  chs branches: 1.23.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.22  12-May-2009  cegger branches: 1.22.12; 1.22.22;
struct device * -> device_t, no functional changes intended.
 1.21  12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.20  28-Apr-2008  martin branches: 1.20.14;
Remove clause 3 and 4 from TNF licenses
 1.19  19-Oct-2007  ad branches: 1.19.16; 1.19.18; 1.19.20;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.18  16-Nov-2006  christos branches: 1.18.8; 1.18.22; 1.18.24; 1.18.28;
__unused removal on arguments; approved by core.
 1.17  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.16  02-Sep-2006  christos branches: 1.16.2; 1.16.4;
static goes first
 1.15  29-Mar-2006  thorpej Use device_private().
 1.14  11-Dec-2005  christos branches: 1.14.4; 1.14.6; 1.14.8; 1.14.10; 1.14.12;
merge ktrace-lwp.
 1.13  27-Feb-2005  perry branches: 1.13.4;
nuke trailing whitespace
 1.12  03-May-2003  ad branches: 1.12.2; 1.12.10; 1.12.12;
Get the interrupt config from the correct register.
 1.11  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.10  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.9  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.8  31-Aug-2002  ad Nuke incorrect mailbox length defines and just use 13 everywhere. May help
with PR/14266.
 1.7  26-Aug-2002  ad Handle aincent firmware as found on EISA/MCA boards. Untested.
 1.6  18-Dec-2001  ad branches: 1.6.8; 1.6.10;
Couple more tweaks, probably still not working.
 1.5  15-Nov-2001  lukem don't need <sys/types.h> when including <sys/param.h>
 1.4  13-Nov-2001  lukem add RCSID
 1.3  10-May-2001  ad branches: 1.3.2; 1.3.4;
Add missing printf().
 1.2  06-May-2001  ad We map in by MLX_EISA_SLOT_OFFSET, so remember that when accessing the
IOCONF registers. Pointed out by thorpej.
 1.1  06-May-2001  ad Add an (untested) EISA front-end for the `mlx' driver.
 1.3.4.3  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.4.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.3.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.2.7  18-Oct-2002  nathanw Catch up to -current.
 1.3.2.6  17-Sep-2002  nathanw Catch up to -current.
 1.3.2.5  27-Aug-2002  nathanw Catch up to -current.
 1.3.2.4  08-Jan-2002  nathanw Catch up to -current.
 1.3.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.3.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.3.2.1  10-May-2001  nathanw file mlx_eisa.c was added on branch nathanw_sa on 2001-06-21 20:01:32 +0000
 1.6.10.1  28-Jul-2003  he Pull up revisions 1.7-1.8 (requested by ad in ticket #1128):
Improve stability of the mlx driver.
o Better handling of old firmware
o Use correct mailbox length, fixes PR#14266
 1.6.8.2  31-Aug-2002  gehenna catch up with -current.
 1.6.8.1  29-Aug-2002  gehenna catch up with -current.
 1.12.12.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.12.10.1  29-Apr-2005  kent sync with -current
 1.12.2.1  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.13.4.3  27-Oct-2007  yamt sync with head.
 1.13.4.2  30-Dec-2006  yamt sync with head.
 1.13.4.1  21-Jun-2006  yamt sync with head.
 1.14.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.14.10.1  19-Apr-2006  elad sync with head.
 1.14.8.2  03-Sep-2006  yamt sync with head.
 1.14.8.1  01-Apr-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.16.4.2  10-Dec-2006  yamt sync with head.
 1.16.4.1  22-Oct-2006  yamt sync with head
 1.16.2.1  18-Nov-2006  ad Sync with head.
 1.18.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.18.24.1  06-Nov-2007  matt sync with HEAD
 1.18.22.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.18.8.1  23-Oct-2007  ad Sync with head.
 1.19.20.2  16-May-2009  yamt sync with head
 1.19.20.1  16-May-2008  yamt sync with head.
 1.19.18.1  18-May-2008  yamt sync with head.
 1.19.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.20.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.22.22.3  03-Dec-2017  jdolecek update from HEAD
 1.22.22.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.22.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.22.12.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.22.12.1  30-Oct-2012  yamt sync with head
 1.23.2.1  18-May-2014  rmind sync with head
 1.24.6.1  05-Oct-2016  skrll Sync with HEAD
 1.25.2.1  04-Nov-2016  pgoyette Sync with HEAD
 1.26.30.1  03-Apr-2021  thorpej Sync with HEAD.
 1.27.2.1  28-Mar-2021  thorpej Correct names of arguments passed to rescan function.
 1.28.2.1  01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed