np->mmio_ba = (u32)dev->mmio_base;
        np->s.ioaddr    = dev->s.ioaddr;
        np->s.ramaddr   = dev->s.ramaddr;
-       np->s.io_ws = (np->features & FE_IO256) ? 256 : 128;
 
        /*
         *  Map on-chip RAM if present and supported.
         */
        if (!(np->features & FE_RAM))
                dev->ram_base = 0;
-       if (dev->ram_base) {
+       if (dev->ram_base)
                np->ram_ba = (u32)dev->ram_base;
-               np->ram_ws = (np->features & FE_RAM8K) ? 8192 : 4096;
-       }
 
        if (sym_hcb_attach(instance, fw, dev->nvram))
                goto attach_failed;
 
 
        void __iomem *  ioaddr;         /* MMIO kernel io address       */
        void __iomem *  ramaddr;        /* RAM  kernel io address       */
-       u_short         io_ws;          /* IO window size               */
 
        struct timer_list timer;        /* Timer handler link header    */
        u_long          lasttime;
 
                if (sym_verbose >= 2)
                        printf("%s: Downloading SCSI SCRIPTS.\n", sym_name(np));
                memcpy_toio(np->s.ramaddr, np->scripta0, np->scripta_sz);
-               if (np->ram_ws == 8192) {
+               if (np->features & FE_RAM8K) {
                        memcpy_toio(np->s.ramaddr + 4096, np->scriptb0, np->scriptb_sz);
                        phys = scr_to_cpu(np->scr_ram_seg);
                        OUTL(np, nc_mmws, phys);
        np->scriptz_ba  = vtobus(np->scriptz0);
 
        if (np->ram_ba) {
-               np->scripta_ba  = np->ram_ba;
+               np->scripta_ba = np->ram_ba;
                if (np->features & FE_RAM8K) {
-                       np->ram_ws = 8192;
                        np->scriptb_ba = np->scripta_ba + 4096;
 #if 0  /* May get useful for 64 BIT PCI addressing */
                        np->scr_ram_seg = cpu_to_scr(np->scripta_ba >> 32);
 #endif
                }
-               else
-                       np->ram_ws = 4096;
        }
 
        /*
 
         *  Physical bus addresses of the chip.
         */
        u32             mmio_ba;        /* MMIO 32 bit BUS address      */
-       int             mmio_ws;        /* MMIO Window size             */
-
        u32             ram_ba;         /* RAM 32 bit BUS address       */
-       int             ram_ws;         /* RAM window size              */
 
        /*
         *  SCRIPTS virtual and physical bus addresses.