diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-02-09 12:16:26 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-02-09 12:16:26 +0000 |
commit | f8c2856bb78241a536c87558439b57026cd1282b (patch) | |
tree | 81fbdb65285bff6946479712aa7dffcc31b36013 /sys/dev/pci | |
parent | 66bad04c46e1a46b46f341f03faea546fca692be (diff) |
split the ofw scan up into two parts: one to find the i2c bus on a pci
device, and one to find i2c devices on the i2c bus.
tweaks and ok kettenis@ ok djm@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/alipm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/alipm.c b/sys/dev/pci/alipm.c index 8f242d6871b..56265ed6314 100644 --- a/sys/dev/pci/alipm.c +++ b/sys/dev/pci/alipm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alipm.c,v 1.6 2006/01/04 18:32:15 kettenis Exp $ */ +/* $OpenBSD: alipm.c,v 1.7 2006/02/09 12:16:25 dlg Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -220,7 +220,7 @@ alipm_attach(struct device *parent, struct device *self, void *aux) iba.iba_name = "iic"; iba.iba_tag = &sc->sc_smb_tag; #ifdef __sparc64__ - iba.iba_bus_scan = ofwiic_scan; + iba.iba_bus_scan = ofwiic_pci_scan; iba.iba_bus_scan_arg = pa; #endif config_found(&sc->sc_dev, &iba, iicbus_print); |