PERFORCE change 76904 for review

Marcel Moolenaar marcel at FreeBSD.org
Thu May 12 19:09:11 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=76904

Change 76904 by marcel at 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);


More information about the p4-projects mailing list