diff options
author | peter <peter@FreeBSD.org> | 2000-01-29 15:37:36 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-01-29 15:37:36 +0000 |
commit | d801231f79922dd1a53a63a9c85eeb41444807c0 (patch) | |
tree | ba8c9bcfc290b4fa4dcb9c151998e2a6bbcf13b6 /sys/i386/isa/isa_compat.c | |
parent | 89b9b9b4af13c0b604e163a76f6dfa9e52ef6843 (diff) | |
download | FreeBSD-src-d801231f79922dd1a53a63a9c85eeb41444807c0.zip FreeBSD-src-d801231f79922dd1a53a63a9c85eeb41444807c0.tar.gz |
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
Diffstat (limited to 'sys/i386/isa/isa_compat.c')
-rw-r--r-- | sys/i386/isa/isa_compat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/isa/isa_compat.c b/sys/i386/isa/isa_compat.c index ca7cf52..3ae09e0 100644 --- a/sys/i386/isa/isa_compat.c +++ b/sys/i386/isa/isa_compat.c @@ -259,6 +259,7 @@ isa_compat_attach(device_t dev) printf("isa_compat_attach: failed to setup intr: %d\n", error); } + device_printf(dev, "driver is using old-style compatability shims\n"); return 0; } |