diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-12-03 08:41:24 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-12-03 08:41:24 +0000 |
commit | fe0d408987b42b531420ff2de76d534dbe7ecee7 (patch) | |
tree | 6196b778a0e888c9c44157e090059018b00a3080 /sys/isa/vga_isa.c | |
parent | b06e7af6ddadc3933a558d3e3ab7c76125611445 (diff) | |
download | src-fe0d408987b42b531420ff2de76d534dbe7ecee7.tar.gz src-fe0d408987b42b531420ff2de76d534dbe7ecee7.zip |
Remove the 'ivars' arguement to device_add_child() and
device_add_child_ordered(). 'ivars' may now be set using the
device_set_ivars() function.
This makes it easier for us to change how arbitrary data structures are
associated with a device_t. Eventually we won't be modifying device_t
to add additional pointers for ivars, softc data etc.
Despite my best efforts I've probably forgotten something so let me know
if this breaks anything. I've been running with this change for months
and its been quite involved actually isolating all the changes from
the rest of the local changes in my tree.
Reviewed by: peter, dfr
Notes
Notes:
svn path=/head/; revision=54073
Diffstat (limited to 'sys/isa/vga_isa.c')
-rw-r--r-- | sys/isa/vga_isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/vga_isa.c b/sys/isa/vga_isa.c index 0f0d81a64fe0..73b58d158d38 100644 --- a/sys/isa/vga_isa.c +++ b/sys/isa/vga_isa.c @@ -173,7 +173,7 @@ isavga_attach(device_t dev) (*vidsw[sc->adp->va_index]->diag)(sc->adp, bootverbose); #if experimental - device_add_child(dev, "fb", -1, NULL); + device_add_child(dev, "fb", -1); bus_generic_attach(dev); #endif |