/* * Platform dependent support for DIG64 platforms. * * Copyright (C) 1999 Intel Corp. * Copyright (C) 1999, 2001 Hewlett-Packard Co * Copyright (C) 1999, 2001, 2003 David Mosberger-Tang * Copyright (C) 1999 VA Linux Systems * Copyright (C) 1999 Walt Drummond * Copyright (C) 1999 Vijay Chander */ #include #include #include #include #include #include #include #include #include #include #include #include #include void __init dig_setup (char **cmdline_p) { unsigned int orig_x, orig_y, num_cols, num_rows, font_height; /* * Default to /dev/sda2. This assumes that the EFI partition * is physical disk 1 partition 1 and the Linux root disk is * physical disk 1 partition 2. */ ROOT_DEV = Root_SDA2; /* default to second partition on first drive */ #ifdef CONFIG_SMP init_smp_config(); #endif memset(&screen_info, 0, sizeof(screen_info)); if (!ia64_boot_param->console_info.num_rows || !ia64_boot_param->console_info.num_cols) { printk(KERN_WARNING "dig_setup: warning: invalid screen-info, guessing 80x25\n"); orig_x = 0; orig_y = 0; num_cols = 80; num_rows = 25; font_height = 16; } else { orig_x = ia64_boot_param->console_info.orig_x; orig_y = ia64_boot_param->console_info.orig_y; num_cols = ia64_boot_param->console_info.num_cols; num_rows = ia64_boot_param->console_info.num_rows; font_height = 400 / num_rows; } screen_info.orig_x = orig_x; screen_info.orig_y = orig_y; screen_info.orig_video_cols = num_cols; screen_info.orig_video_lines = num_rows; screen_info.orig_video_points = font_height; screen_info.orig_video_mode = 3; /* XXX fake */ screen_info.orig_video_isVGA = 1; /* XXX fake */ screen_info.orig_video_ega_bx = 3; /* XXX fake */ } /commit/arch/sparc/include/asm/pgtable_64.h?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>commitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-20 15:44:19 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-15 10:34:18 +0100
commit5db4992d8f040b8d8db0b86d42806e0c417f7ccf (patch)
tree5b06e952af482d45f3ade64e77824662e34b7fa2 /arch/sparc/include/asm/pgtable_64.h
parent370ebb0ef6255132373ed35d13e7b1d8d2eb7003 (diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/sparc/include/asm/pgtable_64.h')