[PATCH] Sis900 bug fixes 4/4

From: Daniele Venzano
Date: Tue May 18 2004 - 07:36:40 EST


Patch 4 of 4

Small cleanup and spelling fixes of sis900.h (much more needed, also
in sis900.c, will go through Rusty's trivial patch monkey if my
maintainership is accepted).


Any comment is highly appreciated.

--
-----------------------------
Daniele Venzano
Web: http://teg.homeunix.org

--- linux-2.6.6/drivers/net/sis900.h 2004-05-18 11:44:24.000000000 +0200
+++ linux-sis900/drivers/net/sis900.h 2004-05-18 11:02:19.000000000 +0200
@@ -77,7 +77,7 @@
IE = 0x00000001
};

-/* maximum dma burst fro transmission and receive*/
+/* maximum dma burst for transmission and receive*/
#define MAX_DMA_RANGE 7 /* actually 0 means MAXIMUM !! */
#define TxMXDMA_shift 20
#define RxMXDMA_shift 20
@@ -86,7 +86,7 @@
DMA_BURST_512 = 0, DMA_BURST_64 = 5
};

-/* transmit FIFO threshholds */
+/* transmit FIFO thresholds */
#define TX_FILL_THRESH 16 /* 1/4 FIFO size */
#define TxFILLT_shift 8
#define TxDRNT_shift 0
@@ -140,7 +140,7 @@
EEREQ = 0x00000400, EEDONE = 0x00000200, EEGNT = 0x00000100
};

-/* Manamgement Data I/O (mdio) frame */
+/* Management Data I/O (mdio) frame */
#define MIIread 0x6000
#define MIIwrite 0x5002
#define MIIpmdShift 7
@@ -277,6 +277,3 @@
#define SIS630E_ISA_BRIDGE_ID_1 0x0008
#define SIS630E_ISA_BRIDGE_ID_2 0x0018

-/* PCI stuff, should be move to pci.h */
-#define SIS630_VENDOR_ID 0x1039
-#define SIS630_DEVICE_ID 0x0630

Attachment: signature.asc
Description: Digital signature