Module Name: src
Committed By: christos
Date: Sun Sep 20 01:09:24 UTC 2009
Modified Files:
src/sys/dev/pci: files.pci pcidevs
Log Message:
PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.
To generate a diff of this commit:
cvs rdiff -u -r1.319 -r1.320 src/sys/dev/pci/files.pci
cvs rdiff -u -r1.995 -r1.996 src/sys/dev/pci/pcidevs
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/files.pci
diff -u src/sys/dev/pci/files.pci:1.319 src/sys/dev/pci/files.pci:1.320
--- src/sys/dev/pci/files.pci:1.319 Sun Sep 6 13:25:56 2009
+++ src/sys/dev/pci/files.pci Sat Sep 19 21:09:24 2009
@@ -1,4 +1,4 @@
-# $NetBSD: files.pci,v 1.319 2009/09/06 17:25:56 sborrill Exp $
+# $NetBSD: files.pci,v 1.320 2009/09/20 01:09:24 christos Exp $
#
# Config file and device description for machine-independent PCI code.
# Included by ports that need it. Requires that the SCSI files be
@@ -337,6 +337,11 @@
attach ixpide at pci
file dev/pci/ixpide.c ixpide
+# Toshiba PICCOLO IDE controllers
+device toshide: ata, ata_dma, pciide_common, wdc_common
+attach toshide at pci
+file dev/pci/toshide.c toshide
+
# PCI-PCI bridge chips
device ppb: pcibus
attach ppb at pci
Index: src/sys/dev/pci/pcidevs
diff -u src/sys/dev/pci/pcidevs:1.995 src/sys/dev/pci/pcidevs:1.996
--- src/sys/dev/pci/pcidevs:1.995 Sat Aug 1 17:34:21 2009
+++ src/sys/dev/pci/pcidevs Sat Sep 19 21:09:24 2009
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.995 2009/08/01 21:34:21 matt Exp $
+$NetBSD: pcidevs,v 1.996 2009/09/20 01:09:24 christos Exp $
/*
* Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -3961,11 +3961,16 @@
/* Toshiba products */
product TOSHIBA2 PORTEGE 0x0001 Portege Notebook
+product TOSHIBA2 PICCOLO 0x0101 Piccolo IDE Controller
+product TOSHIBA2 PICCOLO2 0x0102 Piccolo 2 IDE Controller
+product TOSHIBA2 PICCOLO3 0x0103 Piccolo 3 IDE Controller
+product TOSHIBA2 PICCOLO5 0x0105 Piccolo 5 IDE Controller
product TOSHIBA2 HOST 0x0601 Host Bridge/Controller
product TOSHIBA2 ISA 0x0602 PCI-ISA Bridge
product TOSHIBA2 ToPIC95 0x0603 ToPIC95 PCI-CardBus Bridge
product TOSHIBA2 ToPIC95B 0x060a ToPIC95B PCI-CardBus Bridge
product TOSHIBA2 ToPIC97 0x060f ToPIC97 PCI-CardBus Bridge
+product TOSHIBA2 SANREMO 0x0618 SanRemo? Triangle Host Bridge
product TOSHIBA2 SMCARD 0x0804 Smart Media Controller
product TOSHIBA2 SDCARD 0x0805 Secure Digital Card Controller Type-A
product TOSHIBA2 ToPIC100 0x0617 ToPIC100 PCI-CardBus Bridge