diff options
author | Steve French <sfrench@us.ibm.com> | 2005-12-13 13:15:39 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-12-13 13:15:39 -0500 |
commit | da8543ef125afc7bba4da526b61a1ae07dc25109 (patch) | |
tree | 6aec5867f8e054c22c6208032280ed1434c14a58 /drivers/char | |
parent | ec637e3ffb6b978143652477c7c5f96c9519b691 (diff) | |
parent | 90ac8f7741be4ff66de1f52904f4f67f272f74ce (diff) |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/Kconfig | 18 | ||||
-rw-r--r-- | drivers/char/drm/radeon_cp.c | 2 | ||||
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 2 | ||||
-rw-r--r-- | drivers/char/watchdog/mpcore_wdt.c | 4 |
4 files changed, 11 insertions, 15 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 970f70d498f4..b46a72d782d6 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -943,6 +943,15 @@ config RAW_DRIVER | |||
943 | Applications should simply open the device (eg /dev/hda1) | 943 | Applications should simply open the device (eg /dev/hda1) |
944 | with the O_DIRECT flag. | 944 | with the O_DIRECT flag. |
945 | 945 | ||
946 | config MAX_RAW_DEVS | ||
947 | int "Maximum number of RAW devices to support (1-8192)" | ||
948 | depends on RAW_DRIVER | ||
949 | default "256" | ||
950 | help | ||
951 | The maximum number of RAW devices that are supported. | ||
952 | Default is 256. Increase this number in case you need lots of | ||
953 | raw devices. | ||
954 | |||
946 | config HPET | 955 | config HPET |
947 | bool "HPET - High Precision Event Timer" if (X86 || IA64) | 956 | bool "HPET - High Precision Event Timer" if (X86 || IA64) |
948 | default n | 957 | default n |
@@ -974,15 +983,6 @@ config HPET_MMAP | |||
974 | exposed to the user. If this applies to your hardware, | 983 | exposed to the user. If this applies to your hardware, |
975 | say N here. | 984 | say N here. |
976 | 985 | ||
977 | config MAX_RAW_DEVS | ||
978 | int "Maximum number of RAW devices to support (1-8192)" | ||
979 | depends on RAW_DRIVER | ||
980 | default "256" | ||
981 | help | ||
982 | The maximum number of RAW devices that are supported. | ||
983 | Default is 256. Increase this number in case you need lots of | ||
984 | raw devices. | ||
985 | |||
986 | config HANGCHECK_TIMER | 986 | config HANGCHECK_TIMER |
987 | tristate "Hangcheck timer" | 987 | tristate "Hangcheck timer" |
988 | depends on X86 || IA64 || PPC64 || ARCH_S390 | 988 | depends on X86 || IA64 || PPC64 || ARCH_S390 |
diff --git a/drivers/char/drm/radeon_cp.c b/drivers/char/drm/radeon_cp.c index 03839ea31092..9f2b4efd0c7a 100644 --- a/drivers/char/drm/radeon_cp.c +++ b/drivers/char/drm/radeon_cp.c | |||
@@ -1522,7 +1522,7 @@ static int radeon_do_init_cp(drm_device_t * dev, drm_radeon_init_t * init) | |||
1522 | 1522 | ||
1523 | dev_priv->gart_size = init->gart_size; | 1523 | dev_priv->gart_size = init->gart_size; |
1524 | dev_priv->gart_vm_start = dev_priv->fb_location | 1524 | dev_priv->gart_vm_start = dev_priv->fb_location |
1525 | + RADEON_READ(RADEON_CONFIG_APER_SIZE); | 1525 | + RADEON_READ(RADEON_CONFIG_APER_SIZE) * 2; |
1526 | 1526 | ||
1527 | #if __OS_HAS_AGP | 1527 | #if __OS_HAS_AGP |
1528 | if (!dev_priv->is_pci) | 1528 | if (!dev_priv->is_pci) |
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index 6b302a930e5f..1f56b4cf0f58 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c | |||
@@ -2986,7 +2986,7 @@ static void send_panic_events(char *str) | |||
2986 | msg.cmd = 2; /* Platform event command. */ | 2986 | msg.cmd = 2; /* Platform event command. */ |
2987 | msg.data = data; | 2987 | msg.data = data; |
2988 | msg.data_len = 8; | 2988 | msg.data_len = 8; |
2989 | data[0] = 0x21; /* Kernel generator ID, IPMI table 5-4 */ | 2989 | data[0] = 0x41; /* Kernel generator ID, IPMI table 5-4 */ |
2990 | data[1] = 0x03; /* This is for IPMI 1.0. */ | 2990 | data[1] = 0x03; /* This is for IPMI 1.0. */ |
2991 | data[2] = 0x20; /* OS Critical Stop, IPMI table 36-3 */ | 2991 | data[2] = 0x20; /* OS Critical Stop, IPMI table 36-3 */ |
2992 | data[4] = 0x6f; /* Sensor specific, IPMI table 36-1 */ | 2992 | data[4] = 0x6f; /* Sensor specific, IPMI table 36-1 */ |
diff --git a/drivers/char/watchdog/mpcore_wdt.c b/drivers/char/watchdog/mpcore_wdt.c index 9defcf861b67..b4d843489881 100644 --- a/drivers/char/watchdog/mpcore_wdt.c +++ b/drivers/char/watchdog/mpcore_wdt.c | |||
@@ -180,10 +180,6 @@ static ssize_t mpcore_wdt_write(struct file *file, const char *data, size_t len, | |||
180 | { | 180 | { |
181 | struct mpcore_wdt *wdt = file->private_data; | 181 | struct mpcore_wdt *wdt = file->private_data; |
182 | 182 | ||
183 | /* Can't seek (pwrite) on this device */ | ||
184 | if (ppos != &file->f_pos) | ||
185 | return -ESPIPE; | ||
186 | |||
187 | /* | 183 | /* |
188 | * Refresh the timer. | 184 | * Refresh the timer. |
189 | */ | 185 | */ |