Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205585
b: refs/heads/master
c: 902d241
h: refs/heads/master
i:
  205583: 8aae31f
v: v3
  • Loading branch information
Charles Clément authored and Greg Kroah-Hartman committed Jun 18, 2010
1 parent 4d024a6 commit a01776d
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 128 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c17ce8c21d809c62b427bf8e2d2672ebe0904fd2
refs/heads/master: 902d2411298a6e0b8a473a0163aa4bf6d5c8a073
12 changes: 6 additions & 6 deletions trunk/drivers/staging/vt6655/desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,11 @@ SRDES1;
typedef struct tagSRxDesc {
volatile SRDES0 m_rd0RD0;
volatile SRDES1 m_rd1RD1;
volatile U32 buff_addr;
volatile U32 next_desc;
volatile u32 buff_addr;
volatile u32 next_desc;
struct tagSRxDesc *next;//4 bytes
volatile PDEVICE_RD_INFO pRDInfo;//4 bytes
volatile U32 Reserved[2];//8 bytes
volatile u32 Reserved[2];//8 bytes
} __attribute__ ((__packed__))
SRxDesc, *PSRxDesc;
typedef const SRxDesc *PCSRxDesc;
Expand Down Expand Up @@ -378,11 +378,11 @@ static inline PDEVICE_TD_INFO alloc_td_info(void) {
typedef struct tagSTxDesc {
volatile STDES0 m_td0TD0;
volatile STDES1 m_td1TD1;
volatile U32 buff_addr;
volatile U32 next_desc;
volatile u32 buff_addr;
volatile u32 next_desc;
struct tagSTxDesc* next; //4 bytes
volatile PDEVICE_TD_INFO pTDInfo;//4 bytes
volatile U32 Reserved[2];//8 bytes
volatile u32 Reserved[2];//8 bytes
} __attribute__ ((__packed__))
STxDesc, *PSTxDesc;
typedef const STxDesc *PCSTxDesc;
Expand Down
18 changes: 9 additions & 9 deletions trunk/drivers/staging/vt6655/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ typedef struct __chip_info_tbl{
char* name;
int io_size;
int nTxQueue;
U32 flags;
u32 flags;
} CHIP_INFO, *PCHIP_INFO;


Expand Down Expand Up @@ -386,7 +386,7 @@ typedef struct __device_opt {
int short_retry;
int long_retry;
int bbp_type;
U32 flags;
u32 flags;
} OPTIONS, *POPTIONS;


Expand Down Expand Up @@ -423,11 +423,11 @@ typedef struct __device_info {

CHIP_TYPE chip_id;

U32 PortOffset;
u32 PortOffset;
DWORD dwIsr;
U32 memaddr;
U32 ioaddr;
U32 io_size;
u32 memaddr;
u32 ioaddr;
u32 io_size;

BYTE byRevId;
WORD SubSystemID;
Expand All @@ -454,9 +454,9 @@ typedef struct __device_info {

OPTIONS sOpts;

U32 flags;
u32 flags;

U32 rx_buf_sz;
u32 rx_buf_sz;
int multicast_limit;
BYTE byRxMode;

Expand All @@ -472,7 +472,7 @@ typedef struct __device_info {
//PLICE_DEBUG <-


U32 rx_bytes;
u32 rx_bytes;

// Version control
BYTE byLocalID;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6655/device_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ device_set_int_opt(int *opt, int val, int min, int max, int def,char* name,char*
}
static void
device_set_bool_opt(unsigned int *opt, int val,BOOL def,U32 flag, char* name,char* devname) {
device_set_bool_opt(unsigned int *opt, int val,BOOL def,u32 flag, char* name,char* devname) {
(*opt)&=(~flag);
if (val==-1)
*opt|=(def ? flag : 0);
Expand Down Expand Up @@ -976,7 +976,7 @@ device_found1(struct pci_dev *pcid, const struct pci_device_id *ent)
printk("after get pci_info memaddr is %x, io addr is %x,io_size is %d\n",pDevice->memaddr,pDevice->ioaddr,pDevice->io_size);
{
int i;
U32 bar,len;
u32 bar,len;
u32 address[] = {
PCI_BASE_ADDRESS_0,
PCI_BASE_ADDRESS_1,
Expand Down
Loading

0 comments on commit a01776d

Please sign in to comment.