Module Name: src Committed By: nonaka Date: Sun Mar 11 13:57:31 UTC 2012
Modified Files: src/sys/dev/pci: lynxfb.c Log Message: path correct device to wsdisplayio_busid_pci(). To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/lynxfb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/lynxfb.c diff -u src/sys/dev/pci/lynxfb.c:1.1 src/sys/dev/pci/lynxfb.c:1.2 --- src/sys/dev/pci/lynxfb.c:1.1 Fri Mar 2 13:20:57 2012 +++ src/sys/dev/pci/lynxfb.c Sun Mar 11 13:57:30 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: lynxfb.c,v 1.1 2012/03/02 13:20:57 nonaka Exp $ */ +/* $NetBSD: lynxfb.c,v 1.2 2012/03/11 13:57:30 nonaka Exp $ */ /* $OpenBSD: smfb.c,v 1.13 2011/07/21 20:36:12 miod Exp $ */ /* @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: lynxfb.c,v 1.1 2012/03/02 13:20:57 nonaka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lynxfb.c,v 1.2 2012/03/11 13:57:30 nonaka Exp $"); #include "opt_wsemul.h" @@ -402,8 +402,8 @@ lynxfb_ioctl(void *v, void *vs, u_long c cmd, data, flags, l); case WSDISPLAYIO_GET_BUSID: - return wsdisplayio_busid_pci(device_parent(sc->sc_dev), - sc->sc_pc, sc->sc_pcitag, data); + return wsdisplayio_busid_pci(sc->sc_dev, sc->sc_pc, + sc->sc_pcitag, data); case WSDISPLAYIO_GINFO: if (ms == NULL)