From 5c3c739758bab8439be9c20cb99483d0a822abaf Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 23 Nov 2009 07:14:33 +0000 Subject: pcifront: fix multiple initialization bug Now that we have pcifront_watches to dynamically initialize pcifront we don't need a call to init_pcifront in pcilib and pcifront_scan anymore; we should just wait for the frontend to connect to the backend instead. Signed-off-by: Stefano Stabellini --- stubdom/pciutils.patch | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'stubdom/pciutils.patch') diff --git a/stubdom/pciutils.patch b/stubdom/pciutils.patch index 93510bf562..ce9e987b2c 100644 --- a/stubdom/pciutils.patch +++ b/stubdom/pciutils.patch @@ -64,7 +64,7 @@ diff -urN pciutils-2.2.9.orig/lib/access.c pciutils-2.2.9/lib/access.c --- pciutils-2.2.9.orig/lib/minios.c 1970-01-01 01:00:00.000000000 +0100 +++ pciutils-2.2.9/lib/minios.c 2008-07-01 12:31:40.554260000 +0100 -@@ -0,0 +1,108 @@ +@@ -0,0 +1,106 @@ +/* + * The PCI Library -- MiniOS PCI frontend access + * @@ -87,8 +87,6 @@ diff -urN pciutils-2.2.9.orig/lib/access.c pciutils-2.2.9/lib/access.c +static void +minios_init(struct pci_access *a) +{ -+ if (!init_pcifront(NULL)) -+ a->warning("minios_init open failed"); +} + +static void -- cgit v1.2.3