Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265166
b: refs/heads/master
c: fc502ba
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and David S. Miller committed Aug 1, 2011
1 parent b62907a commit 74fda8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: c9ea53d0e720ce4af774d7e5046819761eb54e0a
refs/heads/master: fc502ba0086f142639208f879e577e1b5a4eeb8e
6 changes: 3 additions & 3 deletions trunk/drivers/net/ipg.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ MODULE_LICENSE("GPL");
* Variable record -- index by leading revision/length
* Revision/Length(=N*4), Address1, Data1, Address2, Data2,...,AddressN,DataN
*/
static unsigned short DefaultPhyParam[] = {
static const unsigned short DefaultPhyParam[] = {
/* 11/12/03 IP1000A v1-3 rev=0x40 */
/*--------------------------------------------------------------------------
(0x4000|(15*4)), 31, 0x0001, 27, 0x01e0, 31, 0x0002, 22, 0x85bd, 24, 0xfff2,
Expand All @@ -88,7 +88,7 @@ static unsigned short DefaultPhyParam[] = {
0x0000
};

static const char *ipg_brand_name[] = {
static const char * const ipg_brand_name[] = {
"IC PLUS IP1000 1000/100/10 based NIC",
"Sundance Technology ST2021 based NIC",
"Tamarack Microelectronics TC9020/9021 based NIC",
Expand Down Expand Up @@ -1961,7 +1961,7 @@ static void ipg_set_phy_default_param(unsigned char rev,
{
unsigned short length;
unsigned char revision;
unsigned short *phy_param;
const unsigned short *phy_param;
unsigned short address, value;

phy_param = &DefaultPhyParam[0];
Expand Down

0 comments on commit 74fda8d

Please sign in to comment.