aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/firestream.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/firestream.c')
-rw-r--r--drivers/atm/firestream.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c
index 86fed1b91695..b41c9481b67b 100644
--- a/drivers/atm/firestream.c
+++ b/drivers/atm/firestream.c
@@ -252,7 +252,7 @@ struct reginit_item {
252}; 252};
253 253
254 254
255static struct reginit_item PHY_NTC_INIT[] __devinitdata = { 255static struct reginit_item PHY_NTC_INIT[] = {
256 { PHY_CLEARALL, 0x40 }, 256 { PHY_CLEARALL, 0x40 },
257 { 0x12, 0x0001 }, 257 { 0x12, 0x0001 },
258 { 0x13, 0x7605 }, 258 { 0x13, 0x7605 },
@@ -1295,7 +1295,7 @@ static const struct atmdev_ops ops = {
1295}; 1295};
1296 1296
1297 1297
1298static void __devinit undocumented_pci_fix (struct pci_dev *pdev) 1298static void undocumented_pci_fix(struct pci_dev *pdev)
1299{ 1299{
1300 u32 tint; 1300 u32 tint;
1301 1301
@@ -1319,13 +1319,13 @@ static void __devinit undocumented_pci_fix (struct pci_dev *pdev)
1319 * PHY routines * 1319 * PHY routines *
1320 **************************************************************************/ 1320 **************************************************************************/
1321 1321
1322static void __devinit write_phy (struct fs_dev *dev, int regnum, int val) 1322static void write_phy(struct fs_dev *dev, int regnum, int val)
1323{ 1323{
1324 submit_command (dev, &dev->hp_txq, QE_CMD_PRP_WR | QE_CMD_IMM_INQ, 1324 submit_command (dev, &dev->hp_txq, QE_CMD_PRP_WR | QE_CMD_IMM_INQ,
1325 regnum, val, 0); 1325 regnum, val, 0);
1326} 1326}
1327 1327
1328static int __devinit init_phy (struct fs_dev *dev, struct reginit_item *reginit) 1328static int init_phy(struct fs_dev *dev, struct reginit_item *reginit)
1329{ 1329{
1330 int i; 1330 int i;
1331 1331
@@ -1381,7 +1381,7 @@ static void reset_chip (struct fs_dev *dev)
1381 } 1381 }
1382} 1382}
1383 1383
1384static void __devinit *aligned_kmalloc (int size, gfp_t flags, int alignment) 1384static void *aligned_kmalloc(int size, gfp_t flags, int alignment)
1385{ 1385{
1386 void *t; 1386 void *t;
1387 1387
@@ -1398,8 +1398,8 @@ static void __devinit *aligned_kmalloc (int size, gfp_t flags, int alignment)
1398 return NULL; 1398 return NULL;
1399} 1399}
1400 1400
1401static int __devinit init_q (struct fs_dev *dev, 1401static int init_q(struct fs_dev *dev, struct queue *txq, int queue,
1402 struct queue *txq, int queue, int nentries, int is_rq) 1402 int nentries, int is_rq)
1403{ 1403{
1404 int sz = nentries * sizeof (struct FS_QENTRY); 1404 int sz = nentries * sizeof (struct FS_QENTRY);
1405 struct FS_QENTRY *p; 1405 struct FS_QENTRY *p;
@@ -1434,8 +1434,8 @@ static int __devinit init_q (struct fs_dev *dev,
1434} 1434}
1435 1435
1436 1436
1437static int __devinit init_fp (struct fs_dev *dev, 1437static int init_fp(struct fs_dev *dev, struct freepool *fp, int queue,
1438 struct freepool *fp, int queue, int bufsize, int nr_buffers) 1438 int bufsize, int nr_buffers)
1439{ 1439{
1440 func_enter (); 1440 func_enter ();
1441 1441
@@ -1528,7 +1528,7 @@ static void top_off_fp (struct fs_dev *dev, struct freepool *fp,
1528 fs_dprintk (FS_DEBUG_QUEUE, "Added %d entries. \n", n); 1528 fs_dprintk (FS_DEBUG_QUEUE, "Added %d entries. \n", n);
1529} 1529}
1530 1530
1531static void __devexit free_queue (struct fs_dev *dev, struct queue *txq) 1531static void free_queue(struct fs_dev *dev, struct queue *txq)
1532{ 1532{
1533 func_enter (); 1533 func_enter ();
1534 1534
@@ -1544,7 +1544,7 @@ static void __devexit free_queue (struct fs_dev *dev, struct queue *txq)
1544 func_exit (); 1544 func_exit ();
1545} 1545}
1546 1546
1547static void __devexit free_freepool (struct fs_dev *dev, struct freepool *fp) 1547static void free_freepool(struct fs_dev *dev, struct freepool *fp)
1548{ 1548{
1549 func_enter (); 1549 func_enter ();
1550 1550
@@ -1662,7 +1662,7 @@ static void fs_poll (unsigned long data)
1662} 1662}
1663#endif 1663#endif
1664 1664
1665static int __devinit fs_init (struct fs_dev *dev) 1665static int fs_init(struct fs_dev *dev)
1666{ 1666{
1667 struct pci_dev *pci_dev; 1667 struct pci_dev *pci_dev;
1668 int isr, to; 1668 int isr, to;
@@ -1897,8 +1897,8 @@ unmap:
1897 return 1; 1897 return 1;
1898} 1898}
1899 1899
1900static int __devinit firestream_init_one (struct pci_dev *pci_dev, 1900static int firestream_init_one(struct pci_dev *pci_dev,
1901 const struct pci_device_id *ent) 1901 const struct pci_device_id *ent)
1902{ 1902{
1903 struct atm_dev *atm_dev; 1903 struct atm_dev *atm_dev;
1904 struct fs_dev *fs_dev; 1904 struct fs_dev *fs_dev;
@@ -1934,7 +1934,7 @@ static int __devinit firestream_init_one (struct pci_dev *pci_dev,
1934 return -ENODEV; 1934 return -ENODEV;
1935} 1935}
1936 1936
1937static void __devexit firestream_remove_one (struct pci_dev *pdev) 1937static void firestream_remove_one(struct pci_dev *pdev)
1938{ 1938{
1939 int i; 1939 int i;
1940 struct fs_dev *dev, *nxtdev; 1940 struct fs_dev *dev, *nxtdev;
@@ -2038,7 +2038,7 @@ static struct pci_driver firestream_driver = {
2038 .name = "firestream", 2038 .name = "firestream",
2039 .id_table = firestream_pci_tbl, 2039 .id_table = firestream_pci_tbl,
2040 .probe = firestream_init_one, 2040 .probe = firestream_init_one,
2041 .remove = __devexit_p(firestream_remove_one), 2041 .remove = firestream_remove_one,
2042}; 2042};
2043 2043
2044static int __init firestream_init_module (void) 2044static int __init firestream_init_module (void)