Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Enable the IT8628E shipped with my gigabyte GA-N...
details: https://anonhg.NetBSD.org/src/rev/9a3a8fd7c719
branches: trunk
changeset: 355783:9a3a8fd7c719
user: hauke <hauke%NetBSD.org@localhost>
date: Mon Aug 14 11:49:30 2017 +0000
description:
Enable the IT8628E shipped with my gigabyte GA-N3150N-D3V board.
XXX These IT suoer IO chips appear to be all fairly alike. Maybe add a
comprehensive list of IDs to recognize them, then deal with the
fallout?
diffstat:
sys/dev/isa/itesio_isa.c | 5 +++--
sys/dev/isa/itesio_isavar.h | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r cf12160d0eba -r 9a3a8fd7c719 sys/dev/isa/itesio_isa.c
--- a/sys/dev/isa/itesio_isa.c Mon Aug 14 05:33:30 2017 +0000
+++ b/sys/dev/isa/itesio_isa.c Mon Aug 14 11:49:30 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: itesio_isa.c,v 1.25 2015/04/23 23:23:00 pgoyette Exp $ */
+/* $NetBSD: itesio_isa.c,v 1.26 2017/08/14 11:49:30 hauke Exp $ */
/* Derived from $OpenBSD: it.c,v 1.19 2006/04/10 00:57:54 deraadt Exp $ */
/*
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: itesio_isa.c,v 1.25 2015/04/23 23:23:00 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: itesio_isa.c,v 1.26 2017/08/14 11:49:30 hauke Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -136,6 +136,7 @@
bus_space_unmap(ia->ia_iot, ioh, 2);
switch (cr) {
+ case ITESIO_ID8628:
case ITESIO_ID8705:
case ITESIO_ID8712:
case ITESIO_ID8716:
diff -r cf12160d0eba -r 9a3a8fd7c719 sys/dev/isa/itesio_isavar.h
--- a/sys/dev/isa/itesio_isavar.h Mon Aug 14 05:33:30 2017 +0000
+++ b/sys/dev/isa/itesio_isavar.h Mon Aug 14 11:49:30 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: itesio_isavar.h,v 1.9 2012/11/15 04:45:01 msaitoh Exp $ */
+/* $NetBSD: itesio_isavar.h,v 1.10 2017/08/14 11:49:30 hauke Exp $ */
/* $OpenBSD: itvar.h,v 1.2 2003/11/05 20:57:10 grange Exp $ */
/*
@@ -57,6 +57,7 @@
#define ITESIO_CHIPID2 0x21 /* Chip ID 2 */
#define ITESIO_DEVREV 0x22 /* Device Revision */
+#define ITESIO_ID8628 0x8628
#define ITESIO_ID8705 0x8705
#define ITESIO_ID8712 0x8712
#define ITESIO_ID8716 0x8716
Home |
Main Index |
Thread Index |
Old Index