typedef struct card_s {
struct net_device *dev;
spinlock_t lock; /* TX lock */
- u8 *win0base; /* ISA window base address */
+ u8 __iomem *win0base; /* ISA window base address */
u32 phy_winbase; /* ISA physical base address */
sync_serial_settings settings;
int rxpart; /* partial frame received, next frame invalid*/
}
-#define close_windows(card) {} /* no hardware support */
-
-
#include "hd6457x.c"
static int c101_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
const size_t size = sizeof(sync_serial_settings);
- sync_serial_settings new_line, *line = ifr->ifr_settings.ifs_ifsu.sync;
+ sync_serial_settings new_line;
+ sync_serial_settings __user *line = ifr->ifr_settings.ifs_ifsu.sync;
port_t *port = dev_to_port(dev);
#ifdef DEBUG_RINGS