aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip/dmfe.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-08-04 18:31:02 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-04 18:31:02 -0400
commit3cfc2c42c1cbc8e238bb9c0612c0df4565e3a8b4 (patch)
tree5adc1ff2eaf64d450bf28bb6b2ce890db2567288 /drivers/net/tulip/dmfe.c
parent5cf65713f87775c548e3eb48dbafa32e12f28000 (diff)
parent0ea6e61122196509af82cc4f36cbdaacbefb8227 (diff)
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits) Documentation: update broken web addresses. fix comment typo "choosed" -> "chosen" hostap:hostap_hw.c Fix typo in comment Fix spelling contorller -> controller in comments Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault fs/Kconfig: Fix typo Userpace -> Userspace Removing dead MACH_U300_BS26 drivers/infiniband: Remove unnecessary casts of private_data fs/ocfs2: Remove unnecessary casts of private_data libfc: use ARRAY_SIZE scsi: bfa: use ARRAY_SIZE drm: i915: use ARRAY_SIZE drm: drm_edid: use ARRAY_SIZE synclink: use ARRAY_SIZE block: cciss: use ARRAY_SIZE comment typo fixes: charater => character fix comment typos concerning "challenge" arm: plat-spear: fix typo in kerneldoc reiserfs: typo comment fix update email address ...
Diffstat (limited to 'drivers/net/tulip/dmfe.c')
-rw-r--r--drivers/net/tulip/dmfe.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c
index 29e6c63d39fd..0bc4f3030a80 100644
--- a/drivers/net/tulip/dmfe.c
+++ b/drivers/net/tulip/dmfe.c
@@ -589,7 +589,7 @@ static int dmfe_open(struct DEVICE *dev)
589 db->dm910x_chk_mode = 1; /* Enter the check mode */ 589 db->dm910x_chk_mode = 1; /* Enter the check mode */
590 } 590 }
591 591
592 /* Initilize DM910X board */ 592 /* Initialize DM910X board */
593 dmfe_init_dm910x(dev); 593 dmfe_init_dm910x(dev);
594 594
595 /* Active System Interface */ 595 /* Active System Interface */
@@ -606,9 +606,9 @@ static int dmfe_open(struct DEVICE *dev)
606} 606}
607 607
608 608
609/* Initilize DM910X board 609/* Initialize DM910X board
610 * Reset DM910X board 610 * Reset DM910X board
611 * Initilize TX/Rx descriptor chain structure 611 * Initialize TX/Rx descriptor chain structure
612 * Send the set-up frame 612 * Send the set-up frame
613 * Enable Tx/Rx machine 613 * Enable Tx/Rx machine
614 */ 614 */
@@ -649,7 +649,7 @@ static void dmfe_init_dm910x(struct DEVICE *dev)
649 if ( !(db->media_mode & DMFE_AUTO) ) 649 if ( !(db->media_mode & DMFE_AUTO) )
650 db->op_mode = db->media_mode; /* Force Mode */ 650 db->op_mode = db->media_mode; /* Force Mode */
651 651
652 /* Initiliaze Transmit/Receive decriptor and CR3/4 */ 652 /* Initialize Transmit/Receive decriptor and CR3/4 */
653 dmfe_descriptor_init(db, ioaddr); 653 dmfe_descriptor_init(db, ioaddr);
654 654
655 /* Init CR6 to program DM910x operation */ 655 /* Init CR6 to program DM910x operation */
@@ -1288,7 +1288,7 @@ static void dmfe_timer(unsigned long data)
1288 * Stop DM910X board 1288 * Stop DM910X board
1289 * Free Tx/Rx allocated memory 1289 * Free Tx/Rx allocated memory
1290 * Reset DM910X board 1290 * Reset DM910X board
1291 * Re-initilize DM910X board 1291 * Re-initialize DM910X board
1292 */ 1292 */
1293 1293
1294static void dmfe_dynamic_reset(struct DEVICE *dev) 1294static void dmfe_dynamic_reset(struct DEVICE *dev)
@@ -1316,7 +1316,7 @@ static void dmfe_dynamic_reset(struct DEVICE *dev)
1316 netif_carrier_off(dev); 1316 netif_carrier_off(dev);
1317 db->wait_reset = 0; 1317 db->wait_reset = 0;
1318 1318
1319 /* Re-initilize DM910X board */ 1319 /* Re-initialize DM910X board */
1320 dmfe_init_dm910x(dev); 1320 dmfe_init_dm910x(dev);
1321 1321
1322 /* Restart upper layer interface */ 1322 /* Restart upper layer interface */
@@ -1447,7 +1447,7 @@ static void update_cr6(u32 cr6_data, unsigned long ioaddr)
1447 1447
1448/* 1448/*
1449 * Send a setup frame for DM9132 1449 * Send a setup frame for DM9132
1450 * This setup frame initilize DM910X address filter mode 1450 * This setup frame initialize DM910X address filter mode
1451*/ 1451*/
1452 1452
1453static void dm9132_id_table(struct DEVICE *dev) 1453static void dm9132_id_table(struct DEVICE *dev)
@@ -1489,7 +1489,7 @@ static void dm9132_id_table(struct DEVICE *dev)
1489 1489
1490/* 1490/*
1491 * Send a setup frame for DM9102/DM9102A 1491 * Send a setup frame for DM9102/DM9102A
1492 * This setup frame initilize DM910X address filter mode 1492 * This setup frame initialize DM910X address filter mode
1493 */ 1493 */
1494 1494
1495static void send_filter_frame(struct DEVICE *dev) 1495static void send_filter_frame(struct DEVICE *dev)
@@ -2142,7 +2142,7 @@ static int dmfe_resume(struct pci_dev *pci_dev)
2142 pci_set_power_state(pci_dev, PCI_D0); 2142 pci_set_power_state(pci_dev, PCI_D0);
2143 pci_restore_state(pci_dev); 2143 pci_restore_state(pci_dev);
2144 2144
2145 /* Re-initilize DM910X board */ 2145 /* Re-initialize DM910X board */
2146 dmfe_init_dm910x(dev); 2146 dmfe_init_dm910x(dev);
2147 2147
2148 /* Disable WOL */ 2148 /* Disable WOL */
@@ -2196,7 +2196,7 @@ MODULE_PARM_DESC(SF_mode, "Davicom DM9xxx special function "
2196 2196
2197/* Description: 2197/* Description:
2198 * when user used insmod to add module, system invoked init_module() 2198 * when user used insmod to add module, system invoked init_module()
2199 * to initilize and register. 2199 * to initialize and register.
2200 */ 2200 */
2201 2201
2202static int __init dmfe_init_module(void) 2202static int __init dmfe_init_module(void)