/[hurd]/gnumach/linux/src/drivers/net/hp100.c
ViewVC logotype

Diff of /gnumach/linux/src/drivers/net/hp100.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tb, Mon Apr 26 05:52:18 1999 UTC revision 1.1.4.1 by ams, Thu Jun 2 18:52:39 2005 UTC
# Line 648  __initfunc(static int hp100_probe1( stru Line 648  __initfunc(static int hp100_probe1( stru
648      {      {
649        mem_ptr_phys = (u_int *)( hp100_inw( MEM_MAP_LSW ) |        mem_ptr_phys = (u_int *)( hp100_inw( MEM_MAP_LSW ) |
650                                  ( hp100_inw( MEM_MAP_MSW ) << 16 ) );                                  ( hp100_inw( MEM_MAP_MSW ) << 16 ) );
651        (u_int)mem_ptr_phys &= ~0x1fff;  /* 8k alignment */        mem_ptr_phys = (u_int *) ((u_int) mem_ptr_phys & ~0x1fff);  /* 8k alignment */
   
652        if ( bus == HP100_BUS_ISA && ( (u_long)mem_ptr_phys & ~0xfffff ) != 0 )        if ( bus == HP100_BUS_ISA && ( (u_long)mem_ptr_phys & ~0xfffff ) != 0 )
653          {          {
654            printk("hp100: %s: Can only use programmed i/o mode.\n", dev->name);            printk("hp100: %s: Can only use programmed i/o mode.\n", dev->name);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26