Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2005 02:09:09 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 76904 for review
Message-ID:  <200505130209.j4D299xP027936@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=76904

Change 76904 by marcel@marcel_nfs on 2005/05/13 02:08:19

	Catch up with reality. Use suggested probe() return values.
	Since vga(4) is the driver you want attached only when no
	accelerated driver exists, return BUS_PROBE_GENERIC.

Affected files ...

.. //depot/projects/tty/sys/dev/vga/vga_bus_pci.c#4 edit

Differences ...

==== //depot/projects/tty/sys/dev/vga/vga_bus_pci.c#4 (text+ko) ====

@@ -132,7 +132,7 @@
 	if ((cfg & PCIM_CMD_PORTEN) == 0)
 		return (ENXIO);
 
-	return (-1);
+	return (BUS_PROBE_GENERIC);
 }
 
 DRIVER_MODULE(vga, pci, vga_pci_driver, vga_devclass, 0, 0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505130209.j4D299xP027936>