Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
smc37c669.c File Reference
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
#include <asm/hwrpb.h>
#include <asm/io.h>
#include <asm/segment.h>

Go to the source code of this file.

Data Structures

struct  _SMC37c669_CONFIG_REGS
 
union  _SMC37c669_CR00
 
union  _SMC37c669_CR01
 
union  _SMC37c669_CR02
 
union  _SMC37c669_CR03
 
union  _SMC37c669_CR04
 
union  _SMC37c669_CR05
 
union  _SMC37c669_CR06
 
union  _SMC37c669_CR07
 
union  _SMC37c669_CR08
 
union  _SMC37c669_CR09
 
union  _SMC37c669_CR0A
 
union  _SMC37c669_CR0B
 
union  _SMC37c669_CR0C
 
union  _SMC37c669_CR0D
 
union  _SMC37c669_CR0E
 
union  _SMC37c669_CR0F
 
union  _SMC37c669_CR10
 
union  _SMC37c669_CR11
 
union  _SMC37c66_CR1E
 
union  _SMC37c669_CR1F
 
union  _SMC37c669_CR20
 
union  _SMC37c669_CR21
 
union  _SMC37c669_CR22
 
union  _SMC37c669_CR23
 
union  _SMC37c669_CR24
 
union  _SMC37c669_CR25
 
union  _SMC37c669_CR26
 
union  _SMC37c669_CR27
 
union  _SMC37c669_CR28
 
union  _SMC37c669_CR29
 
struct  _SMC37c669_IRQ_TRANSLATION_ENTRY
 
struct  _SMC37c669_DRQ_TRANSLATION_ENTRY
 
struct  DEVICE_CONFIG
 

Macros

#define DBG_DEVS(args)
 
#define KB   1024
 
#define MB   (1024*KB)
 
#define GB   (1024*MB)
 
#define SMC_DEBUG   0
 
#define __SMC37c669_H
 
#define SMC37c669_DEVICE_IRQ_MASK   0x80000000
 
#define SMC37c669_DEVICE_IRQ(__i)   ((SMC37c669_DEVICE_IRQ_MASK) | (__i))
 
#define SMC37c669_IS_DEVICE_IRQ(__i)   (((__i) & (SMC37c669_DEVICE_IRQ_MASK)) == (SMC37c669_DEVICE_IRQ_MASK))
 
#define SMC37c669_RAW_DEVICE_IRQ(__i)   ((__i) & ~(SMC37c669_DEVICE_IRQ_MASK))
 
#define SMC37c669_DEVICE_DRQ_MASK   0x80000000
 
#define SMC37c669_DEVICE_DRQ(__d)   ((SMC37c669_DEVICE_DRQ_MASK) | (__d))
 
#define SMC37c669_IS_DEVICE_DRQ(__d)   (((__d) & (SMC37c669_DEVICE_DRQ_MASK)) == (SMC37c669_DEVICE_DRQ_MASK))
 
#define SMC37c669_RAW_DEVICE_DRQ(__d)   ((__d) & ~(SMC37c669_DEVICE_DRQ_MASK))
 
#define SMC37c669_DEVICE_ID   0x3
 
#define SERIAL_0   0
 
#define SERIAL_1   1
 
#define PARALLEL_0   2
 
#define FLOPPY_0   3
 
#define IDE_0   4
 
#define NUM_FUNCS   5
 
#define COM1_BASE   0x3F8
 
#define COM1_IRQ   4
 
#define COM2_BASE   0x2F8
 
#define COM2_IRQ   3
 
#define PARP_BASE   0x3BC
 
#define PARP_IRQ   7
 
#define PARP_DRQ   3
 
#define FDC_BASE   0x3F0
 
#define FDC_IRQ   6
 
#define FDC_DRQ   2
 
#define SMC37c669_CONFIG_ON_KEY   0x55
 
#define SMC37c669_CONFIG_OFF_KEY   0xAA
 
#define SMC37c669_DEVICE_IRQ_A   ( SMC37c669_DEVICE_IRQ( 0x01 ) )
 
#define SMC37c669_DEVICE_IRQ_B   ( SMC37c669_DEVICE_IRQ( 0x02 ) )
 
#define SMC37c669_DEVICE_IRQ_C   ( SMC37c669_DEVICE_IRQ( 0x03 ) )
 
#define SMC37c669_DEVICE_IRQ_D   ( SMC37c669_DEVICE_IRQ( 0x04 ) )
 
#define SMC37c669_DEVICE_IRQ_E   ( SMC37c669_DEVICE_IRQ( 0x05 ) )
 
#define SMC37c669_DEVICE_IRQ_F   ( SMC37c669_DEVICE_IRQ( 0x06 ) )
 
#define SMC37c669_DEVICE_IRQ_H   ( SMC37c669_DEVICE_IRQ( 0x08 ) )
 
#define SMC37c669_DEVICE_DRQ_A   ( SMC37c669_DEVICE_DRQ( 0x01 ) )
 
#define SMC37c669_DEVICE_DRQ_B   ( SMC37c669_DEVICE_DRQ( 0x02 ) )
 
#define SMC37c669_DEVICE_DRQ_C   ( SMC37c669_DEVICE_DRQ( 0x03 ) )
 
#define SMC37c669_CR00_INDEX   0x00
 
#define SMC37c669_CR01_INDEX   0x01
 
#define SMC37c669_CR02_INDEX   0x02
 
#define SMC37c669_CR03_INDEX   0x03
 
#define SMC37c669_CR04_INDEX   0x04
 
#define SMC37c669_CR05_INDEX   0x05
 
#define SMC37c669_CR06_INDEX   0x06
 
#define SMC37c669_CR07_INDEX   0x07
 
#define SMC37c669_CR08_INDEX   0x08
 
#define SMC37c669_CR09_INDEX   0x09
 
#define SMC37c669_CR0A_INDEX   0x0A
 
#define SMC37c669_CR0B_INDEX   0x0B
 
#define SMC37c669_CR0C_INDEX   0x0C
 
#define SMC37c669_CR0D_INDEX   0x0D
 
#define SMC37c669_CR0E_INDEX   0x0E
 
#define SMC37c669_CR0F_INDEX   0x0F
 
#define SMC37c669_CR10_INDEX   0x10
 
#define SMC37c669_CR11_INDEX   0x11
 
#define SMC37c669_CR12_INDEX   0x12
 
#define SMC37c669_CR13_INDEX   0x13
 
#define SMC37c669_CR14_INDEX   0x14
 
#define SMC37c669_CR15_INDEX   0x15
 
#define SMC37c669_CR16_INDEX   0x16
 
#define SMC37c669_CR17_INDEX   0x17
 
#define SMC37c669_CR18_INDEX   0x18
 
#define SMC37c669_CR19_INDEX   0x19
 
#define SMC37c669_CR1A_INDEX   0x1A
 
#define SMC37c669_CR1B_INDEX   0x1B
 
#define SMC37c669_CR1C_INDEX   0x1C
 
#define SMC37c669_CR1D_INDEX   0x1D
 
#define SMC37c669_CR1E_INDEX   0x1E
 
#define SMC37c669_CR1F_INDEX   0x1F
 
#define SMC37c669_CR20_INDEX   0x20
 
#define SMC37c669_CR21_INDEX   0x21
 
#define SMC37c669_CR22_INDEX   0x22
 
#define SMC37c669_CR23_INDEX   0x23
 
#define SMC37c669_CR24_INDEX   0x24
 
#define SMC37c669_CR25_INDEX   0x25
 
#define SMC37c669_CR26_INDEX   0x26
 
#define SMC37c669_CR27_INDEX   0x27
 
#define SMC37c669_CR28_INDEX   0x28
 
#define SMC37c669_CR29_INDEX   0x29
 
#define SMC37c669_DEVICE_ID_INDEX   SMC37c669_CR0D_INDEX
 
#define SMC37c669_DEVICE_REVISION_INDEX   SMC37c669_CR0E_INDEX
 
#define SMC37c669_FDC_BASE_ADDRESS_INDEX   SMC37c669_CR20_INDEX
 
#define SMC37c669_IDE_BASE_ADDRESS_INDEX   SMC37c669_CR21_INDEX
 
#define SMC37c669_IDE_ALTERNATE_ADDRESS_INDEX   SMC37c669_CR22_INDEX
 
#define SMC37c669_PARALLEL0_BASE_ADDRESS_INDEX   SMC37c669_CR23_INDEX
 
#define SMC37c669_SERIAL0_BASE_ADDRESS_INDEX   SMC37c669_CR24_INDEX
 
#define SMC37c669_SERIAL1_BASE_ADDRESS_INDEX   SMC37c669_CR25_INDEX
 
#define SMC37c669_PARALLEL_FDC_DRQ_INDEX   SMC37c669_CR26_INDEX
 
#define SMC37c669_PARALLEL_FDC_IRQ_INDEX   SMC37c669_CR27_INDEX
 
#define SMC37c669_SERIAL_IRQ_INDEX   SMC37c669_CR28_INDEX
 
#define TRUE   1
 
#define FALSE   0
 
#define wb(_x_, _y_)   outb( _y_, (unsigned int)((unsigned long)_x_) )
 
#define rb(_x_)   inb( (unsigned int)((unsigned long)_x_) )
 

Typedefs

typedef struct
_SMC37c669_CONFIG_REGS 
SMC37c669_CONFIG_REGS
 
typedef union _SMC37c669_CR00 SMC37c669_CR00
 
typedef union _SMC37c669_CR01 SMC37c669_CR01
 
typedef union _SMC37c669_CR02 SMC37c669_CR02
 
typedef union _SMC37c669_CR03 SMC37c669_CR03
 
typedef union _SMC37c669_CR04 SMC37c669_CR04
 
typedef union _SMC37c669_CR05 SMC37c669_CR05
 
typedef union _SMC37c669_CR06 SMC37c669_CR06
 
typedef union _SMC37c669_CR07 SMC37c669_CR07
 
typedef union _SMC37c669_CR08 SMC37c669_CR08
 
typedef union _SMC37c669_CR09 SMC37c669_CR09
 
typedef union _SMC37c669_CR0A SMC37c669_CR0A
 
typedef union _SMC37c669_CR0B SMC37c669_CR0B
 
typedef union _SMC37c669_CR0C SMC37c669_CR0C
 
typedef union _SMC37c669_CR0D SMC37c669_CR0D
 
typedef union _SMC37c669_CR0E SMC37c669_CR0E
 
typedef union _SMC37c669_CR0F SMC37c669_CR0F
 
typedef union _SMC37c669_CR10 SMC37c669_CR10
 
typedef union _SMC37c669_CR11 SMC37c669_CR11
 
typedef union _SMC37c66_CR1E SMC37c669_CR1E
 
typedef union _SMC37c669_CR1F SMC37c669_CR1F
 
typedef union _SMC37c669_CR20 SMC37c669_CR20
 
typedef union _SMC37c669_CR21 SMC37c669_CR21
 
typedef union _SMC37c669_CR22 SMC37c669_CR22
 
typedef union _SMC37c669_CR23 SMC37c669_CR23
 
typedef union _SMC37c669_CR24 SMC37c669_CR24
 
typedef union _SMC37c669_CR25 SMC37c669_CR25
 
typedef union _SMC37c669_CR26 SMC37c669_CR26
 
typedef union _SMC37c669_CR27 SMC37c669_CR27
 
typedef union _SMC37c669_CR28 SMC37c669_CR28
 
typedef union _SMC37c669_CR29 SMC37c669_CR29
 
typedef SMC37c669_CR0D SMC37c669_DEVICE_ID_REGISTER
 
typedef SMC37c669_CR0E SMC37c669_DEVICE_REVISION_REGISTER
 
typedef SMC37c669_CR20 SMC37c669_FDC_BASE_ADDRESS_REGISTER
 
typedef SMC37c669_CR21 SMC37c669_IDE_ADDRESS_REGISTER
 
typedef SMC37c669_CR23 SMC37c669_PARALLEL_BASE_ADDRESS_REGISTER
 
typedef SMC37c669_CR24 SMC37c669_SERIAL_BASE_ADDRESS_REGISTER
 
typedef SMC37c669_CR26 SMC37c669_PARALLEL_FDC_DRQ_REGISTER
 
typedef SMC37c669_CR27 SMC37c669_PARALLEL_FDC_IRQ_REGISTER
 
typedef SMC37c669_CR28 SMC37c669_SERIAL_IRQ_REGISTER
 
typedef struct
_SMC37c669_IRQ_TRANSLATION_ENTRY 
SMC37c669_IRQ_TRANSLATION_ENTRY
 
typedef struct
_SMC37c669_DRQ_TRANSLATION_ENTRY 
SMC37c669_DRQ_TRANSLATION_ENTRY
 

Functions

SMC37c669_CONFIG_REGSSMC37c669_detect (int)
 
unsigned int SMC37c669_enable_device (unsigned int func)
 
unsigned int SMC37c669_disable_device (unsigned int func)
 
unsigned int SMC37c669_configure_device (unsigned int func, int port, int irq, int drq)
 
void SMC37c669_display_device_info (void)
 
void __init SMC37c669_dump_registers (void)
 
void __init SMC669_Init (int index)
 

Macro Definition Documentation

#define __SMC37c669_H

Definition at line 63 of file smc37c669.c.

#define COM1_BASE   0x3F8

Definition at line 108 of file smc37c669.c.

#define COM1_IRQ   4

Definition at line 109 of file smc37c669.c.

#define COM2_BASE   0x2F8

Definition at line 110 of file smc37c669.c.

#define COM2_IRQ   3

Definition at line 111 of file smc37c669.c.

#define DBG_DEVS (   args)

Definition at line 18 of file smc37c669.c.

#define FALSE   0

Definition at line 941 of file smc37c669.c.

#define FDC_BASE   0x3F0

Definition at line 115 of file smc37c669.c.

#define FDC_DRQ   2

Definition at line 117 of file smc37c669.c.

#define FDC_IRQ   6

Definition at line 116 of file smc37c669.c.

#define FLOPPY_0   3

Definition at line 101 of file smc37c669.c.

#define GB   (1024*MB)

Definition at line 23 of file smc37c669.c.

#define IDE_0   4

Definition at line 102 of file smc37c669.c.

#define KB   1024

Definition at line 21 of file smc37c669.c.

#define MB   (1024*KB)

Definition at line 22 of file smc37c669.c.

#define NUM_FUNCS   5

Definition at line 103 of file smc37c669.c.

#define PARALLEL_0   2

Definition at line 100 of file smc37c669.c.

#define PARP_BASE   0x3BC

Definition at line 112 of file smc37c669.c.

#define PARP_DRQ   3

Definition at line 114 of file smc37c669.c.

#define PARP_IRQ   7

Definition at line 113 of file smc37c669.c.

#define rb (   _x_)    inb( (unsigned int)((unsigned long)_x_) )

Definition at line 945 of file smc37c669.c.

#define SERIAL_0   0

Definition at line 98 of file smc37c669.c.

#define SERIAL_1   1

Definition at line 99 of file smc37c669.c.

#define SMC37c669_CONFIG_OFF_KEY   0xAA

Definition at line 123 of file smc37c669.c.

#define SMC37c669_CONFIG_ON_KEY   0x55

Definition at line 122 of file smc37c669.c.

#define SMC37c669_CR00_INDEX   0x00

Definition at line 147 of file smc37c669.c.

#define SMC37c669_CR01_INDEX   0x01

Definition at line 148 of file smc37c669.c.

#define SMC37c669_CR02_INDEX   0x02

Definition at line 149 of file smc37c669.c.

#define SMC37c669_CR03_INDEX   0x03

Definition at line 150 of file smc37c669.c.

#define SMC37c669_CR04_INDEX   0x04

Definition at line 151 of file smc37c669.c.

#define SMC37c669_CR05_INDEX   0x05

Definition at line 152 of file smc37c669.c.

#define SMC37c669_CR06_INDEX   0x06

Definition at line 153 of file smc37c669.c.

#define SMC37c669_CR07_INDEX   0x07

Definition at line 154 of file smc37c669.c.

#define SMC37c669_CR08_INDEX   0x08

Definition at line 155 of file smc37c669.c.

#define SMC37c669_CR09_INDEX   0x09

Definition at line 156 of file smc37c669.c.

#define SMC37c669_CR0A_INDEX   0x0A

Definition at line 157 of file smc37c669.c.

#define SMC37c669_CR0B_INDEX   0x0B

Definition at line 158 of file smc37c669.c.

#define SMC37c669_CR0C_INDEX   0x0C

Definition at line 159 of file smc37c669.c.

#define SMC37c669_CR0D_INDEX   0x0D

Definition at line 160 of file smc37c669.c.

#define SMC37c669_CR0E_INDEX   0x0E

Definition at line 161 of file smc37c669.c.

#define SMC37c669_CR0F_INDEX   0x0F

Definition at line 162 of file smc37c669.c.

#define SMC37c669_CR10_INDEX   0x10

Definition at line 163 of file smc37c669.c.

#define SMC37c669_CR11_INDEX   0x11

Definition at line 164 of file smc37c669.c.

#define SMC37c669_CR12_INDEX   0x12

Definition at line 165 of file smc37c669.c.

#define SMC37c669_CR13_INDEX   0x13

Definition at line 166 of file smc37c669.c.

#define SMC37c669_CR14_INDEX   0x14

Definition at line 167 of file smc37c669.c.

#define SMC37c669_CR15_INDEX   0x15

Definition at line 168 of file smc37c669.c.

#define SMC37c669_CR16_INDEX   0x16

Definition at line 169 of file smc37c669.c.

#define SMC37c669_CR17_INDEX   0x17

Definition at line 170 of file smc37c669.c.

#define SMC37c669_CR18_INDEX   0x18

Definition at line 171 of file smc37c669.c.

#define SMC37c669_CR19_INDEX   0x19

Definition at line 172 of file smc37c669.c.

#define SMC37c669_CR1A_INDEX   0x1A

Definition at line 173 of file smc37c669.c.

#define SMC37c669_CR1B_INDEX   0x1B

Definition at line 174 of file smc37c669.c.

#define SMC37c669_CR1C_INDEX   0x1C

Definition at line 175 of file smc37c669.c.

#define SMC37c669_CR1D_INDEX   0x1D

Definition at line 176 of file smc37c669.c.

#define SMC37c669_CR1E_INDEX   0x1E

Definition at line 177 of file smc37c669.c.

#define SMC37c669_CR1F_INDEX   0x1F

Definition at line 178 of file smc37c669.c.

#define SMC37c669_CR20_INDEX   0x20

Definition at line 179 of file smc37c669.c.

#define SMC37c669_CR21_INDEX   0x21

Definition at line 180 of file smc37c669.c.

#define SMC37c669_CR22_INDEX   0x22

Definition at line 181 of file smc37c669.c.

#define SMC37c669_CR23_INDEX   0x23

Definition at line 182 of file smc37c669.c.

#define SMC37c669_CR24_INDEX   0x24

Definition at line 183 of file smc37c669.c.

#define SMC37c669_CR25_INDEX   0x25

Definition at line 184 of file smc37c669.c.

#define SMC37c669_CR26_INDEX   0x26

Definition at line 185 of file smc37c669.c.

#define SMC37c669_CR27_INDEX   0x27

Definition at line 186 of file smc37c669.c.

#define SMC37c669_CR28_INDEX   0x28

Definition at line 187 of file smc37c669.c.

#define SMC37c669_CR29_INDEX   0x29

Definition at line 188 of file smc37c669.c.

#define SMC37c669_DEVICE_DRQ (   __d)    ((SMC37c669_DEVICE_DRQ_MASK) | (__d))

Definition at line 86 of file smc37c669.c.

#define SMC37c669_DEVICE_DRQ_A   ( SMC37c669_DEVICE_DRQ( 0x01 ) )

Definition at line 140 of file smc37c669.c.

#define SMC37c669_DEVICE_DRQ_B   ( SMC37c669_DEVICE_DRQ( 0x02 ) )

Definition at line 141 of file smc37c669.c.

#define SMC37c669_DEVICE_DRQ_C   ( SMC37c669_DEVICE_DRQ( 0x03 ) )

Definition at line 142 of file smc37c669.c.

#define SMC37c669_DEVICE_DRQ_MASK   0x80000000

Definition at line 85 of file smc37c669.c.

#define SMC37c669_DEVICE_ID   0x3

Definition at line 93 of file smc37c669.c.

#define SMC37c669_DEVICE_ID_INDEX   SMC37c669_CR0D_INDEX

Definition at line 193 of file smc37c669.c.

#define SMC37c669_DEVICE_IRQ (   __i)    ((SMC37c669_DEVICE_IRQ_MASK) | (__i))

Definition at line 72 of file smc37c669.c.

#define SMC37c669_DEVICE_IRQ_A   ( SMC37c669_DEVICE_IRQ( 0x01 ) )

Definition at line 128 of file smc37c669.c.

#define SMC37c669_DEVICE_IRQ_B   ( SMC37c669_DEVICE_IRQ( 0x02 ) )

Definition at line 129 of file smc37c669.c.

#define SMC37c669_DEVICE_IRQ_C   ( SMC37c669_DEVICE_IRQ( 0x03 ) )

Definition at line 130 of file smc37c669.c.

#define SMC37c669_DEVICE_IRQ_D   ( SMC37c669_DEVICE_IRQ( 0x04 ) )

Definition at line 131 of file smc37c669.c.

#define SMC37c669_DEVICE_IRQ_E   ( SMC37c669_DEVICE_IRQ( 0x05 ) )

Definition at line 132 of file smc37c669.c.

#define SMC37c669_DEVICE_IRQ_F   ( SMC37c669_DEVICE_IRQ( 0x06 ) )

Definition at line 133 of file smc37c669.c.

#define SMC37c669_DEVICE_IRQ_H   ( SMC37c669_DEVICE_IRQ( 0x08 ) )

Definition at line 135 of file smc37c669.c.

#define SMC37c669_DEVICE_IRQ_MASK   0x80000000

Definition at line 71 of file smc37c669.c.

#define SMC37c669_DEVICE_REVISION_INDEX   SMC37c669_CR0E_INDEX

Definition at line 194 of file smc37c669.c.

#define SMC37c669_FDC_BASE_ADDRESS_INDEX   SMC37c669_CR20_INDEX

Definition at line 195 of file smc37c669.c.

#define SMC37c669_IDE_ALTERNATE_ADDRESS_INDEX   SMC37c669_CR22_INDEX

Definition at line 197 of file smc37c669.c.

#define SMC37c669_IDE_BASE_ADDRESS_INDEX   SMC37c669_CR21_INDEX

Definition at line 196 of file smc37c669.c.

#define SMC37c669_IS_DEVICE_DRQ (   __d)    (((__d) & (SMC37c669_DEVICE_DRQ_MASK)) == (SMC37c669_DEVICE_DRQ_MASK))

Definition at line 88 of file smc37c669.c.

#define SMC37c669_IS_DEVICE_IRQ (   __i)    (((__i) & (SMC37c669_DEVICE_IRQ_MASK)) == (SMC37c669_DEVICE_IRQ_MASK))

Definition at line 74 of file smc37c669.c.

#define SMC37c669_PARALLEL0_BASE_ADDRESS_INDEX   SMC37c669_CR23_INDEX

Definition at line 198 of file smc37c669.c.

#define SMC37c669_PARALLEL_FDC_DRQ_INDEX   SMC37c669_CR26_INDEX

Definition at line 201 of file smc37c669.c.

#define SMC37c669_PARALLEL_FDC_IRQ_INDEX   SMC37c669_CR27_INDEX

Definition at line 202 of file smc37c669.c.

#define SMC37c669_RAW_DEVICE_DRQ (   __d)    ((__d) & ~(SMC37c669_DEVICE_DRQ_MASK))

Definition at line 90 of file smc37c669.c.

#define SMC37c669_RAW_DEVICE_IRQ (   __i)    ((__i) & ~(SMC37c669_DEVICE_IRQ_MASK))

Definition at line 76 of file smc37c669.c.

#define SMC37c669_SERIAL0_BASE_ADDRESS_INDEX   SMC37c669_CR24_INDEX

Definition at line 199 of file smc37c669.c.

#define SMC37c669_SERIAL1_BASE_ADDRESS_INDEX   SMC37c669_CR25_INDEX

Definition at line 200 of file smc37c669.c.

#define SMC37c669_SERIAL_IRQ_INDEX   SMC37c669_CR28_INDEX

Definition at line 203 of file smc37c669.c.

#define SMC_DEBUG   0

Definition at line 25 of file smc37c669.c.

#define TRUE   1

Definition at line 938 of file smc37c669.c.

#define wb (   _x_,
  _y_ 
)    outb( _y_, (unsigned int)((unsigned long)_x_) )

Definition at line 944 of file smc37c669.c.

Typedef Documentation

Definition at line 834 of file smc37c669.c.

Definition at line 835 of file smc37c669.c.

Definition at line 836 of file smc37c669.c.

Definition at line 837 of file smc37c669.c.

Definition at line 838 of file smc37c669.c.

Definition at line 840 of file smc37c669.c.

Definition at line 841 of file smc37c669.c.

Definition at line 839 of file smc37c669.c.

Definition at line 842 of file smc37c669.c.

Function Documentation

unsigned int __init SMC37c669_configure_device ( unsigned int  func,
int  port,
int  irq,
int  drq 
)

Definition at line 1668 of file smc37c669.c.

SMC37c669_CONFIG_REGS *__init SMC37c669_detect ( int  index)

Definition at line 1118 of file smc37c669.c.

unsigned int __init SMC37c669_disable_device ( unsigned int  func)

Definition at line 1454 of file smc37c669.c.

void __init SMC37c669_display_device_info ( void  )

Definition at line 1885 of file smc37c669.c.

void __init SMC37c669_dump_registers ( void  )

Definition at line 2438 of file smc37c669.c.

unsigned int __init SMC37c669_enable_device ( unsigned int  func)

Definition at line 1226 of file smc37c669.c.

void __init SMC669_Init ( int  index)

Definition at line 2471 of file smc37c669.c.