From d801231f79922dd1a53a63a9c85eeb41444807c0 Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 29 Jan 2000 15:37:36 +0000 Subject: Put a FYI in the compatability shims so that people are aware that they are using an old unconverted driver. Most (if not all) of the drivers for common hardware are newbus these days. However, we don't want to encourage people to take the easy way out and write new drivers using the shims. This is just passive "encouragement". Reviewed by: phk --- sys/pci/pci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/pci') diff --git a/sys/pci/pci.c b/sys/pci/pci.c index 9bbdb36..9c05ac5 100644 --- a/sys/pci/pci.c +++ b/sys/pci/pci.c @@ -903,6 +903,7 @@ pci_compat_attach(device_t dev) *dvp->pd_count = unit; if (dvp->pd_attach) dvp->pd_attach(cfg, unit); + device_printf(dev, "driver is using old-style compatability shims\n"); return 0; } -- cgit v1.1