History log of /src/sys/dev/pci/mlx_pci.c |
Revision | | Date | Author | Comments |
1.28 |
| 24-Apr-2021 |
thorpej | 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 |
| 09-Dec-2018 |
jdolecek | branches: 1.27.14; use pci_intr_establish_xname() everywhere
|
1.26 |
| 27-Sep-2016 |
pgoyette | branches: 1.26.14; 1.26.16; 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 |
| 29-Mar-2014 |
christos | branches: 1.25.6; 1.25.10; make pci_intr_string and eisa_intr_string take a buffer and a length instead of relying in local static storage.
|
1.24 |
| 27-Oct-2012 |
chs | branches: 1.24.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.23 |
| 26-Nov-2009 |
njoly | branches: 1.23.12; 1.23.22; Cleanup interrupt establish error messages. Do not mix aprint_error/aprint_normal/printf calls for a single line.
|
1.22 |
| 12-May-2009 |
cegger | use device_private(). "looks good" ad@ XXX for the device_t/softc split, please check the driver that no cases have been missed.
|
1.21 |
| 06-May-2009 |
cegger | struct device * -> device_t, no functional changes intended.
|
1.20 |
| 06-May-2009 |
cegger | struct cfdata * -> cfdata_t, no functional changes intended.
|
1.19 |
| 28-Apr-2008 |
martin | branches: 1.19.14; Remove clause 3 and 4 from TNF licenses
|
1.18 |
| 10-Apr-2008 |
cegger | branches: 1.18.2; 1.18.4; use aprint_*_dev and device_xname
|
1.17 |
| 19-Oct-2007 |
ad | branches: 1.17.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.16 |
| 16-Nov-2006 |
christos | branches: 1.16.8; 1.16.22; 1.16.24; 1.16.28; __unused removal on arguments; approved by core.
|
1.15 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.14 |
| 02-Sep-2006 |
christos | branches: 1.14.2; 1.14.4; static goes first
|
1.13 |
| 11-Dec-2005 |
christos | branches: 1.13.4; 1.13.8; merge ktrace-lwp.
|
1.12 |
| 27-Feb-2005 |
perry | branches: 1.12.4; nuke trailing whitespace
|
1.11 |
| 02-Oct-2002 |
thorpej | branches: 1.11.6; 1.11.14; 1.11.16; 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 |
| 13-Nov-2001 |
lukem | branches: 1.6.8; 1.6.10; add RCSID
|
1.5 |
| 26-Jul-2001 |
ad | branches: 1.5.6; Map both memory and IO space, but prefer using memory space.
|
1.4 |
| 26-Jul-2001 |
ad | Don't map I/O space if we have already have a good memory mapping.
|
1.3 |
| 15-May-2001 |
ad | branches: 1.3.2; Correct arguments to bus_dmamap_create(), and add a reset routine for the v3 interface.
|
1.2 |
| 18-Feb-2001 |
mjacob | branches: 1.2.2; Make it compile (for alpha). The porting author might want to look at this more closely than I have.
|
1.1 |
| 04-Feb-2001 |
ad | branches: 1.1.2; Add a driver for the Mylex DAC960 family (including DEC SWXCR).
|
1.1.2.3 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.1.2.2 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
1.1.2.1 |
| 04-Feb-2001 |
bouyer | file mlx_pci.c was added on branch thorpej_scsipi on 2001-02-11 19:15:58 +0000
|
1.2.2.6 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.2.2.5 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.2.2.4 |
| 27-Aug-2002 |
nathanw | Catch up to -current.
|
1.2.2.3 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.2.2.2 |
| 24-Aug-2001 |
nathanw | Catch up with -current.
|
1.2.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.3.2.4 |
| 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.3 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.3.2.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.3.2.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.5.6.2 |
| 25-Oct-2001 |
he | Pull up revisions 1.1-1.5 (new, via patch, requested by ad): Add Mylex DACC960, CAC-EISA, and I2O block/SCSI drivers.
|
1.5.6.1 |
| 26-Jul-2001 |
he | file mlx_pci.c was added on branch netbsd-1-5 on 2001-10-25 18:02:41 +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.11.16.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.11.14.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.11.6.1 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.12.4.2 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.12.4.1 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.13.8.1 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.13.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.14.4.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.14.4.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.14.2.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.16.28.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.16.24.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.16.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.16.8.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.17.16.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.18.4.3 |
| 11-Mar-2010 |
yamt | sync with head
|
1.18.4.2 |
| 16-May-2009 |
yamt | sync with head
|
1.18.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.18.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.19.14.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.23.22.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.23.22.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.23.22.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.23.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.23.12.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.24.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.25.10.1 |
| 04-Nov-2016 |
pgoyette | Sync with HEAD
|
1.25.6.1 |
| 05-Oct-2016 |
skrll | Sync with HEAD
|
1.26.16.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.26.14.1 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
1.27.14.1 |
| 28-Mar-2021 |
thorpej | Correct the names of the arguments passed to the rescan function.
|