Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add support for RDC R1012 IDE controller.
details: https://anonhg.NetBSD.org/src/rev/d06cd1ad4c2c
branches: trunk
changeset: 330434:d06cd1ad4c2c
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jul 08 18:01:26 2014 +0000
description:
Add support for RDC R1012 IDE controller.
Tested on EduCake(Vortex86EX) with sdcard:
| read | write |
------+---------+-------+
pciide| 999519| 244574|
rdcide| 16011238| 939895|
------+---------+-------+
(bytes/sec)
rd: dd if=/dev/rwd0a of=/dev/null bs=1m count=100
wr: dd if=/dev/zero of=/var/tmp/hoge bs=1m count=100
diffstat:
sys/dev/pci/rdcide.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 0573942af802 -r d06cd1ad4c2c sys/dev/pci/rdcide.c
--- a/sys/dev/pci/rdcide.c Tue Jul 08 17:45:44 2014 +0000
+++ b/sys/dev/pci/rdcide.c Tue Jul 08 18:01:26 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rdcide.c,v 1.7 2012/07/31 15:50:36 bouyer Exp $ */
+/* $NetBSD: rdcide.c,v 1.8 2014/07/08 18:01:26 msaitoh Exp $ */
/*
* Copyright (c) 2011 Manuel Bouyer.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rdcide.c,v 1.7 2012/07/31 15:50:36 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rdcide.c,v 1.8 2014/07/08 18:01:26 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -46,9 +46,14 @@
static void rdcide_attach(device_t, device_t, void *);
static const struct pciide_product_desc pciide_intel_products[] = {
- { PCI_PRODUCT_RDC_IDE,
+ { PCI_PRODUCT_RDC_R1011_IDE,
0,
- "RDC IDE controller",
+ "RDC R1011 IDE controller",
+ rdcide_chip_map,
+ },
+ { PCI_PRODUCT_RDC_R1012_IDE,
+ 0,
+ "RDC R1012 IDE controller",
rdcide_chip_map,
},
};
Home |
Main Index |
Thread Index |
Old Index