summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ppc')
-rw-r--r--sys/dev/ppc/ppc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ppc/ppc.c b/sys/dev/ppc/ppc.c
index 0ee1eb6..faa0f0a 100644
--- a/sys/dev/ppc/ppc.c
+++ b/sys/dev/ppc/ppc.c
@@ -1701,14 +1701,15 @@ ppc_probe(device_t dev)
device_t parent;
int port;
- device_set_desc(dev, "Parallel port");
-
- /* XXX shall be connected to pnpbios - from Peter Wemm */
+ /* If we are a PNP device, abort. Otherwise we attach to *everthing* */
if (isa_get_logicalid(dev))
return ENXIO;
parent = device_get_parent(dev);
+ /* XXX shall be set after detection */
+ device_set_desc(dev, "Parallel port");
+
/*
* Allocate the ppc_data structure.
*/
OpenPOWER on IntegriCloud