diff options
author | joerg <joerg@FreeBSD.org> | 1996-12-23 12:33:08 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-12-23 12:33:08 +0000 |
commit | 3f002b8b0a412c010e837784e1b56e0cdf096503 (patch) | |
tree | a1149628a1aef6c7adb93aeceee2bc879fb8ebaf /sys | |
parent | fad157aa33abaa8635852d010b9eaf3fa1da526d (diff) | |
download | FreeBSD-src-3f002b8b0a412c010e837784e1b56e0cdf096503.zip FreeBSD-src-3f002b8b0a412c010e837784e1b56e0cdf096503.tar.gz |
Cosmetic (wrt. the screen display) change: when re-enabling a device,
make sure it won't go into the PCI section. Disabling and re-enabling
ed0 made it to the wrong section.
Submitted by: msmith
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/i386/userconfig.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/i386/userconfig.c b/sys/i386/i386/userconfig.c index fa4bbb5..b6ba0b7 100644 --- a/sys/i386/i386/userconfig.c +++ b/sys/i386/i386/userconfig.c @@ -46,7 +46,7 @@ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ** - ** $Id: userconfig.c,v 1.77 1996/12/17 06:59:01 msmith Exp $ + ** $Id: userconfig.c,v 1.78 1996/12/18 01:37:22 se Exp $ **/ /** @@ -542,6 +542,8 @@ findspot(DEV_LIST *dev, DEV_LIST *list) { if (ap->comment != DEV_DEVICE) /* ignore comments */ continue; + if (ap->iobase == -2) /* don't group with a PCI device */ + continue; if (!strcmp(dev->dev,ap->dev)) /* same base device */ { if ((dev->unit <= ap->unit) /* belongs before (equal is bad) */ @@ -2221,7 +2223,7 @@ visuserconfig(void) * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: userconfig.c,v 1.77 1996/12/17 06:59:01 msmith Exp $ + * $Id: userconfig.c,v 1.78 1996/12/18 01:37:22 se Exp $ */ #include "scbus.h" |