patch-1.3.87 linux/drivers/net/hp100.c

Next file: linux/drivers/net/hp100.h
Previous file: linux/drivers/net/fmv18x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.86/linux/drivers/net/hp100.c linux/drivers/net/hp100.c
@@ -148,7 +148,7 @@
   u_char *mem_ptr_virt;		    /* virtual memory mapped area, maybe NULL */
   u_char *mem_ptr_phys;		    /* physical memory mapped area */
   short lan_type;		    /* 10Mb/s, 100Mb/s or -1 (error) */
-  int hub_status;		    /* login to hub was successfull? */
+  int hub_status;		    /* login to hub was successful? */
   u_char mac1_mode;
   u_char mac2_mode;
   struct enet_statistics stats;
@@ -382,7 +382,7 @@
     {
       mem_ptr_phys = (u_char *)( hp100_inw( MEM_MAP_LSW ) | 
                                ( hp100_inw( MEM_MAP_MSW ) << 16 ) );
-      (u_int)mem_ptr_phys &= ~0x1fff;	/* 8k aligment */
+      (u_int)mem_ptr_phys &= ~0x1fff;	/* 8k alignment */
       if ( bus == HP100_BUS_ISA && ( (u_long)mem_ptr_phys & ~0xfffff ) != 0 )
         {
           mem_ptr_phys = NULL;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this