Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic More stride for PSIONTEKLOGIX NETBOOK PRO.



details:   https://anonhg.NetBSD.org/src/rev/a6b56e25371e
branches:  trunk
changeset: 766396:a6b56e25371e
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Tue Jun 21 15:13:34 2011 +0000

description:
More stride for PSIONTEKLOGIX NETBOOK PRO.

diffstat:

 sys/dev/ic/sl811hs.c    |  6 +++---
 sys/dev/ic/sl811hsvar.h |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r 5cd09b92733c -r a6b56e25371e sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Tue Jun 21 14:33:14 2011 +0000
+++ b/sys/dev/ic/sl811hs.c      Tue Jun 21 15:13:34 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hs.c,v 1.28 2011/05/17 04:18:06 mrg Exp $ */
+/*     $NetBSD: sl811hs.c,v 1.29 2011/06/21 15:13:34 kiyohara Exp $    */
 
 /*
  * Not (c) 2007 Matthew Orgass
@@ -84,7 +84,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.28 2011/05/17 04:18:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.29 2011/06/21 15:13:34 kiyohara Exp $");
 
 #include "opt_slhci.h"
 
@@ -1142,7 +1142,7 @@
  * Note max_current argument is actual current, but stored as current/2 */
 void
 slhci_preinit(struct slhci_softc *sc, PowerFunc pow, bus_space_tag_t iot, 
-    bus_space_handle_t ioh, uint16_t max_current, uint8_t stride)
+    bus_space_handle_t ioh, uint16_t max_current, uint32_t stride)
 {
        struct slhci_transfers *t;
        int i;
diff -r 5cd09b92733c -r a6b56e25371e sys/dev/ic/sl811hsvar.h
--- a/sys/dev/ic/sl811hsvar.h   Tue Jun 21 14:33:14 2011 +0000
+++ b/sys/dev/ic/sl811hsvar.h   Tue Jun 21 15:13:34 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hsvar.h,v 1.7 2010/05/08 01:33:00 isaki Exp $     */
+/*     $NetBSD: sl811hsvar.h,v 1.8 2011/06/21 15:13:34 kiyohara Exp $  */
 
 /*
  * Not (c) 2007 Matthew Orgass
@@ -81,14 +81,14 @@
        int                     sc_mem_use; /* XXX SLHCI_MEM_ACCOUNTING */
 
        uint8_t                 sc_ier;         /* enabled interrupts */
-       uint8_t                 sc_stride;      /* port stride */
+       uint32_t                sc_stride;      /* port stride */
 };
 
 /* last preinit arguments are: max current (in mA, not mA/2), port stride */
 /* register access uses byte access, but stride offsets the data port */
 int  slhci_supported_rev(uint8_t);
 void slhci_preinit(struct slhci_softc *, PowerFunc, bus_space_tag_t, 
-    bus_space_handle_t, uint16_t, uint8_t);
+    bus_space_handle_t, uint16_t, uint32_t);
 int  slhci_attach(struct slhci_softc *);
 int  slhci_detach(struct slhci_softc *, int);
 int  slhci_activate(device_t, enum devact);



Home | Main Index | Thread Index | Old Index