[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dell PERC 3/Di controller.



Try the patch below, if you can, and let me know the result.

Index: aac_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/aac_pci.c,v
retrieving revision 1.1
diff -u -r1.1 aac_pci.c
--- aac_pci.c	2000/11/10 09:39:36	1.1
+++ aac_pci.c	2001/06/07 22:21:04
@@ -137,6 +137,7 @@
 		goto bail_out;
 	}
 
+#if 0
 	/*
 	 * Map control/status registers.
 	 */
@@ -146,6 +147,7 @@
 		printf("can't find mem space\n");
 		goto bail_out;
 	}
+#endif
 	state++;
 
 	if (pci_intr_map(pc, pa->pa_intrtag, pa->pa_intrpin, pa->pa_intrline,
@@ -197,7 +199,9 @@
  bail_out:
 	if (state > 1)
 		pci_intr_disestablish(pc, sc->sc_ih);
+#if 0
 	if (state > 0)
 		bus_space_unmap(sc->sc_memt, sc->sc_memh, memsize);
+#endif
 	return;
 }