Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214295
b: refs/heads/master
c: dcfc5d7
h: refs/heads/master
i:
  214293: 6ea2452
  214291: c5aaf23
  214287: 6e6a513
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Sep 6, 2010
1 parent 9a4dfd4 commit 250f20e
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 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: adea1ac7effbddbe60a9de6d63462bfe79289e59
refs/heads/master: dcfc5d787a24b9a20be3e18e3dbbab5280d35e38
14 changes: 7 additions & 7 deletions trunk/drivers/net/wan/cycx_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,31 +73,31 @@ static int reset_cyc2x(void __iomem *addr);
static int detect_cyc2x(void __iomem *addr);

/* Miscellaneous functions */
static int get_option_index(long *optlist, long optval);
static int get_option_index(const long *optlist, long optval);
static u16 checksum(u8 *buf, u32 len);

#define wait_cyc(addr) cycx_exec(addr + CMD_OFFSET)

/* Global Data */

/* private data */
static char modname[] = "cycx_drv";
static char fullname[] = "Cyclom 2X Support Module";
static char copyright[] = "(c) 1998-2003 Arnaldo Carvalho de Melo "
static const char modname[] = "cycx_drv";
static const char fullname[] = "Cyclom 2X Support Module";
static const char copyright[] = "(c) 1998-2003 Arnaldo Carvalho de Melo "
"<acme@conectiva.com.br>";

/* Hardware configuration options.
* These are arrays of configuration options used by verification routines.
* The first element of each array is its size (i.e. number of options).
*/
static long cyc2x_dpmbase_options[] = {
static const long cyc2x_dpmbase_options[] = {
20,
0xA0000, 0xA4000, 0xA8000, 0xAC000, 0xB0000, 0xB4000, 0xB8000,
0xBC000, 0xC0000, 0xC4000, 0xC8000, 0xCC000, 0xD0000, 0xD4000,
0xD8000, 0xDC000, 0xE0000, 0xE4000, 0xE8000, 0xEC000
};

static long cycx_2x_irq_options[] = { 7, 3, 5, 9, 10, 11, 12, 15 };
static const long cycx_2x_irq_options[] = { 7, 3, 5, 9, 10, 11, 12, 15 };

/* Kernel Loadable Module Entry Points */
/* Module 'insert' entry point.
Expand Down Expand Up @@ -529,7 +529,7 @@ static int detect_cyc2x(void __iomem *addr)
/* Miscellaneous */
/* Get option's index into the options list.
* Return option's index (1 .. N) or zero if option is invalid. */
static int get_option_index(long *optlist, long optval)
static int get_option_index(const long *optlist, long optval)
{
int i = 1;

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/net/wan/cycx_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ static irqreturn_t cycx_isr(int irq, void *dev_id);
*/

/* private data */
static char cycx_drvname[] = "cyclomx";
static char cycx_fullname[] = "CYCLOM 2X(tm) Sync Card Driver";
static char cycx_copyright[] = "(c) 1998-2003 Arnaldo Carvalho de Melo "
static const char cycx_drvname[] = "cyclomx";
static const char cycx_fullname[] = "CYCLOM 2X(tm) Sync Card Driver";
static const char cycx_copyright[] = "(c) 1998-2003 Arnaldo Carvalho de Melo "
"<acme@conectiva.com.br>";
static int cycx_ncards = CONFIG_CYCX_CARDS;
static struct cycx_device *cycx_card_array; /* adapter data space */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wan/lapbether.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

#include <net/x25device.h>

static char bcast_addr[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
static const u8 bcast_addr[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };

/* If this number is made larger, check that the temporary string buffer
* in lapbeth_new_device is large enough to store the probe device name.*/
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wan/pc300_drv.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define USE_PCI_CLOCK
static char rcsid[] =
static const char rcsid[] =
"Revision: 3.4.5 Date: 2002/03/07 ";

/*
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wan/z85230.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ irqreturn_t z8530_interrupt(int irq, void *dev_id)

EXPORT_SYMBOL(z8530_interrupt);

static char reg_init[16]=
static const u8 reg_init[16]=
{
0,0,0,0,
0,0,0,0,
Expand Down Expand Up @@ -1206,7 +1206,7 @@ EXPORT_SYMBOL(z8530_sync_txdma_close);
* it exists...
*/

static char *z8530_type_name[]={
static const char *z8530_type_name[]={
"Z8530",
"Z85C30",
"Z85230"
Expand Down

0 comments on commit 250f20e

Please sign in to comment.