Source-Changes-HG archive

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

[src/trunk]: src/sys Update for siop split.



details:   https://anonhg.NetBSD.org/src/rev/596e480a1546
branches:  trunk
changeset: 486207:596e480a1546
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Mon May 15 08:27:24 2000 +0000

description:
Update for siop split.

diffstat:

 sys/conf/files        |  8 ++++++--
 sys/dev/pci/files.pci |  8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (47 lines):

diff -r ad573253fe34 -r 596e480a1546 sys/conf/files
--- a/sys/conf/files    Mon May 15 08:08:12 2000 +0000
+++ b/sys/conf/files    Mon May 15 08:27:24 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files,v 1.367 2000/05/11 16:49:01 jdolecek Exp $
+#      $NetBSD: files,v 1.368 2000/05/15 08:27:24 bouyer Exp $
 
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
@@ -249,8 +249,12 @@
 file   dev/ic/isp_netbsd.c             isp
 file   dev/ic/isp_target.c             isp
 
+# common stuff for siop and esiop
+define siop_common
+file dev/ic/siop_common.c              siop_common
+
 # Symbios/NCR 53c720/53c8xx SCSI controllers
-device siop: scsi
+device siop: scsi,siop_common
 file dev/ic/siop.c                     siop
 
 # UltraStor SCSI controllers
diff -r ad573253fe34 -r 596e480a1546 sys/dev/pci/files.pci
--- a/sys/dev/pci/files.pci     Mon May 15 08:08:12 2000 +0000
+++ b/sys/dev/pci/files.pci     Mon May 15 08:27:24 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.pci,v 1.92 2000/05/10 00:19:55 haya Exp $
+#      $NetBSD: files.pci,v 1.93 2000/05/15 08:27:26 bouyer Exp $
 #
 # Config file and device description for machine-independent PCI code.
 # Included by ports that need it.  Requires that the SCSI files be
@@ -95,9 +95,13 @@
 attach ncr at pci
 file   dev/pci/ncr.c                   ncr
 
+# common code for siop/esiop pci front end
+define siop_pci_common
+file   dev/pci/siop_pci_common.c       siop_pci_common
+
 # Symbios 53c8xx SCSI chips
 # device declaration in sys/conf/files
-attach siop at pci with siop_pci
+attach siop at pci with siop_pci: siop_pci_common
 file   dev/pci/siop_pci.c      siop_pci
 
 # PCI IDE controllers



Home | Main Index | Thread Index | Old Index