summaryrefslogtreecommitdiff
path: root/src/southbridge/ricoh/rl5c476/rl5c476.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/ricoh/rl5c476/rl5c476.h')
-rw-r--r--src/southbridge/ricoh/rl5c476/rl5c476.h97
1 files changed, 97 insertions, 0 deletions
diff --git a/src/southbridge/ricoh/rl5c476/rl5c476.h b/src/southbridge/ricoh/rl5c476/rl5c476.h
new file mode 100644
index 0000000000..c2da0de17f
--- /dev/null
+++ b/src/southbridge/ricoh/rl5c476/rl5c476.h
@@ -0,0 +1,97 @@
+/*
+ * (C) Copyright 2004 Nick Barker <nick.barker9@btinternet.com>
+ *
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+ /* rl5c476 routines and defines*/
+
+
+typedef unsigned char u8;
+
+
+/* the 16 bit control structure for ricoh cardbus bridge */
+typedef struct pc16reg {
+ u8 idrevs;
+ u8 ifstat;
+ u8 pwctrl;
+ u8 igctrl;
+ u8 cschg;
+ u8 cscint;
+ u8 awinen;
+ u8 ioctrl;
+ u8 iostl0;
+ u8 iosth0;
+ u8 iospl0;
+ u8 iosph0;
+ u8 iostl1;
+ u8 iosth1;
+ u8 iospl1;
+ u8 iosph1;
+ u8 smstl0;
+ u8 smsth0;
+ u8 smspl0;
+ u8 smsph0;
+ u8 moffl0;
+ u8 moffh0;
+ u8 cdgenc;
+ u8 resv1;
+ u8 smstl1;
+ u8 smsth1;
+ u8 smspl1;
+ u8 smsph1;
+ u8 moffl1;
+ u8 moffh1;
+ u8 glctrl;
+ u8 atctrl;
+ u8 smstl2;
+ u8 smsth2;
+ u8 smspl2;
+ u8 smsph2;
+ u8 moffl2;
+ u8 moffh2;
+ u8 resv2;
+ u8 resv3;
+ u8 smstl3;
+ u8 smsth3;
+ u8 smspl3;
+ u8 smsph3;
+ u8 moffl3;
+ u8 moffh3;
+ u8 resv4;
+ u8 miscc1;
+ u8 smstl4;
+ u8 smsth4;
+ u8 smspl4;
+ u8 smsph4;
+ u8 moffl4;
+ u8 moffh4;
+ u8 ioffl0;
+ u8 ioffh0;
+ u8 ioffl1;
+ u8 ioffh1;
+ u8 gpio;
+ u8 resv5;
+ u8 resv6;
+ u8 resv7;
+ u8 resv8;
+ u8 resv9;
+ u8 smpga0;
+} __attribute__ ((packed)) pc16reg_t;
+
+
+