diff options
Diffstat (limited to 'include/asm-mips/sn')
-rw-r--r-- | include/asm-mips/sn/ioc3.h | 2 | ||||
-rw-r--r-- | include/asm-mips/sn/klconfig.h | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/include/asm-mips/sn/ioc3.h b/include/asm-mips/sn/ioc3.h index f7d530f306f2..099677774d71 100644 --- a/include/asm-mips/sn/ioc3.h +++ b/include/asm-mips/sn/ioc3.h | |||
@@ -5,6 +5,8 @@ | |||
5 | #ifndef _IOC3_H | 5 | #ifndef _IOC3_H |
6 | #define _IOC3_H | 6 | #define _IOC3_H |
7 | 7 | ||
8 | #include <linux/types.h> | ||
9 | |||
8 | /* SUPERIO uart register map */ | 10 | /* SUPERIO uart register map */ |
9 | typedef volatile struct ioc3_uartregs { | 11 | typedef volatile struct ioc3_uartregs { |
10 | union { | 12 | union { |
diff --git a/include/asm-mips/sn/klconfig.h b/include/asm-mips/sn/klconfig.h index 52238e65af8e..b63cd0655b3d 100644 --- a/include/asm-mips/sn/klconfig.h +++ b/include/asm-mips/sn/klconfig.h | |||
@@ -602,7 +602,7 @@ typedef struct klcpu_s { /* CPU */ | |||
602 | 602 | ||
603 | typedef struct klhub_s { /* HUB */ | 603 | typedef struct klhub_s { /* HUB */ |
604 | klinfo_t hub_info; | 604 | klinfo_t hub_info; |
605 | uint hub_flags; /* PCFG_HUB_xxx flags */ | 605 | unsigned int hub_flags; /* PCFG_HUB_xxx flags */ |
606 | klport_t hub_port; /* hub is connected to this */ | 606 | klport_t hub_port; /* hub is connected to this */ |
607 | nic_t hub_box_nic; /* nic of containing box */ | 607 | nic_t hub_box_nic; /* nic of containing box */ |
608 | klconf_off_t hub_mfg_nic; /* MFG NIC string */ | 608 | klconf_off_t hub_mfg_nic; /* MFG NIC string */ |
@@ -611,7 +611,7 @@ typedef struct klhub_s { /* HUB */ | |||
611 | 611 | ||
612 | typedef struct klhub_uart_s { /* HUB */ | 612 | typedef struct klhub_uart_s { /* HUB */ |
613 | klinfo_t hubuart_info; | 613 | klinfo_t hubuart_info; |
614 | uint hubuart_flags; /* PCFG_HUB_xxx flags */ | 614 | unsigned int hubuart_flags; /* PCFG_HUB_xxx flags */ |
615 | nic_t hubuart_box_nic; /* nic of containing box */ | 615 | nic_t hubuart_box_nic; /* nic of containing box */ |
616 | } klhub_uart_t ; | 616 | } klhub_uart_t ; |
617 | 617 | ||
@@ -710,7 +710,7 @@ typedef struct klvmed_s { /* VME DEVICE - VME BOARD */ | |||
710 | /* XXX - Don't we need the number of ports here?!? */ | 710 | /* XXX - Don't we need the number of ports here?!? */ |
711 | typedef struct klrou_s { /* ROUTER */ | 711 | typedef struct klrou_s { /* ROUTER */ |
712 | klinfo_t rou_info ; | 712 | klinfo_t rou_info ; |
713 | uint rou_flags ; /* PCFG_ROUTER_xxx flags */ | 713 | unsigned int rou_flags ; /* PCFG_ROUTER_xxx flags */ |
714 | nic_t rou_box_nic ; /* nic of the containing module */ | 714 | nic_t rou_box_nic ; /* nic of the containing module */ |
715 | klport_t rou_port[MAX_ROUTER_PORTS + 1] ; /* array index 1 to 6 */ | 715 | klport_t rou_port[MAX_ROUTER_PORTS + 1] ; /* array index 1 to 6 */ |
716 | klconf_off_t rou_mfg_nic ; /* MFG NIC string */ | 716 | klconf_off_t rou_mfg_nic ; /* MFG NIC string */ |
@@ -733,8 +733,8 @@ typedef struct klgfx_s { /* GRAPHICS Device */ | |||
733 | klinfo_t gfx_info; | 733 | klinfo_t gfx_info; |
734 | klconf_off_t old_gndevs; /* for compatibility with older proms */ | 734 | klconf_off_t old_gndevs; /* for compatibility with older proms */ |
735 | klconf_off_t old_gdoff0; /* for compatibility with older proms */ | 735 | klconf_off_t old_gdoff0; /* for compatibility with older proms */ |
736 | uint cookie; /* for compatibility with older proms */ | 736 | unsigned int cookie; /* for compatibility with older proms */ |
737 | uint moduleslot; | 737 | unsigned int moduleslot; |
738 | struct klgfx_s *gfx_next_pipe; | 738 | struct klgfx_s *gfx_next_pipe; |
739 | graphics_t gfx_specific; | 739 | graphics_t gfx_specific; |
740 | klconf_off_t pad0; /* for compatibility with older proms */ | 740 | klconf_off_t pad0; /* for compatibility with older proms */ |