Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27246
b: refs/heads/master
c: dc86d32
h: refs/heads/master
v: v3
  • Loading branch information
Auke Kok authored and Auke Kok committed Apr 18, 2006
1 parent 724a400 commit a8480a6
Show file tree
Hide file tree
Showing 398 changed files with 6,755 additions and 9,469 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d269a69fbbbb7ddd2081af7a768feac754b8357a
refs/heads/master: dc86d32ab51c4ad3086472457fb90b61249d91f5
22 changes: 0 additions & 22 deletions trunk/Documentation/block/switching-sched.txt

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/Documentation/cpu-freq/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ the CPUFreq Mailing list:
* http://lists.linux.org.uk/mailman/listinfo/cpufreq

Clock and voltage scaling for the SA-1100:
* http://www.lartmaker.nl/projects/scaling
* http://www.lart.tudelft.nl/projects/scaling
5 changes: 2 additions & 3 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ Who: Adrian Bunk <bunk@stusta.de>

---------------------------

What: drivers that were depending on OBSOLETE_OSS_DRIVER
(config options already removed)
When: before 2.6.19
What: drivers depending on OBSOLETE_OSS_DRIVER
When: January 2006
Why: OSS drivers with ALSA replacements
Who: Adrian Bunk <bunk@stusta.de>

Expand Down
22 changes: 4 additions & 18 deletions trunk/Documentation/serial/driver
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
--------------------


$Id: driver,v 1.10 2002/07/22 15:27:30 rmk Exp $


This document is meant as a brief overview of some aspects of the new serial
driver. It is not complete, any questions you have should be directed to
<rmk@arm.linux.org.uk>

The reference implementation is contained within amba_pl011.c.
The reference implementation is contained within serial_amba.c.



Expand All @@ -28,11 +31,6 @@ The serial core provides a few helper functions. This includes identifing
the correct port structure (via uart_get_console) and decoding command line
arguments (uart_parse_options).

There is also a helper function (uart_write_console) which performs a
character by character write, translating newlines to CRLF sequences.
Driver writers are recommended to use this function rather than implementing
their own version.


Locking
-------
Expand Down Expand Up @@ -88,7 +86,6 @@ hardware.
- TIOCM_DTR DTR signal.
- TIOCM_OUT1 OUT1 signal.
- TIOCM_OUT2 OUT2 signal.
- TIOCM_LOOP Set the port into loopback mode.
If the appropriate bit is set, the signal should be driven
active. If the bit is clear, the signal should be driven
inactive.
Expand Down Expand Up @@ -144,10 +141,6 @@ hardware.
enable_ms(port)
Enable the modem status interrupts.

This method may be called multiple times. Modem status
interrupts should be disabled when the shutdown method is
called.

Locking: port->lock taken.
Interrupts: locally disabled.
This call must not sleep
Expand All @@ -167,8 +160,6 @@ hardware.
state. Enable the port for reception. It should not activate
RTS nor DTR; this will be done via a separate call to set_mctrl.

This method will only be called when the port is initially opened.

Locking: port_sem taken.
Interrupts: globally disabled.

Expand All @@ -178,11 +169,6 @@ hardware.
RTS nor DTR; this will have already been done via a separate
call to set_mctrl.

Drivers must not access port->info once this call has completed.

This method will only be called when there are no more users of
this port.

Locking: port_sem taken.
Interrupts: caller dependent.

Expand Down
11 changes: 1 addition & 10 deletions trunk/Documentation/vm/hugetlbpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,7 @@ The output of "cat /proc/meminfo" will have lines like:
.....
HugePages_Total: xxx
HugePages_Free: yyy
HugePages_Rsvd: www
Hugepagesize: zzz kB

where:
HugePages_Total is the size of the pool of hugepages.
HugePages_Free is the number of hugepages in the pool that are not yet
allocated.
HugePages_Rsvd is short for "reserved," and is the number of hugepages
for which a commitment to allocate from the pool has been made, but no
allocation has yet been made. It's vaguely analogous to overcommit.
Hugepagesize: zzz KB

/proc/filesystems should also show a filesystem of type "hugetlbfs" configured
in the kernel.
Expand Down
10 changes: 0 additions & 10 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ AX.25 NETWORK LAYER
P: Ralf Baechle
M: ralf@linux-mips.org
L: linux-hams@vger.kernel.org
W: http://www.linux-ax25.org/
S: Maintained

BAYCOM/HDLCDRV DRIVERS FOR AX.25
Expand Down Expand Up @@ -1464,13 +1463,6 @@ M: support@pathscale.com
L: openib-general@openib.org
S: Supported

IPMI SUBSYSTEM
P: Corey Minyard
M: minyard@acm.org
L: openipmi-developer@lists.sourceforge.net
W: http://openipmi.sourceforge.net/
S: Supported

IPX NETWORK LAYER
P: Arnaldo Carvalho de Melo
M: acme@conectiva.com.br
Expand Down Expand Up @@ -1883,7 +1875,6 @@ NETROM NETWORK LAYER
P: Ralf Baechle
M: ralf@linux-mips.org
L: linux-hams@vger.kernel.org
W: http://www.linux-ax25.org/
S: Maintained

NETWORK BLOCK DEVICE
Expand Down Expand Up @@ -2275,7 +2266,6 @@ ROSE NETWORK LAYER
P: Ralf Baechle
M: ralf@linux-mips.org
L: linux-hams@vger.kernel.org
W: http://www.linux-ax25.org/
S: Maintained

RISCOM8 DRIVER
Expand Down
2 changes: 1 addition & 1 deletion trunk/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 17
EXTRAVERSION =-rc2
EXTRAVERSION =-rc1
NAME=Sliding Snow Leopard

# *DOCUMENTATION*
Expand Down
23 changes: 1 addition & 22 deletions trunk/README
Original file line number Diff line number Diff line change
Expand Up @@ -165,31 +165,10 @@ CONFIGURING the kernel:
"make xconfig" X windows (Qt) based configuration tool.
"make gconfig" X windows (Gtk) based configuration tool.
"make oldconfig" Default all questions based on the contents of
your existing ./.config file and asking about
new config symbols.
your existing ./.config file.
"make silentoldconfig"
Like above, but avoids cluttering the screen
with questions already answered.
"make defconfig" Create a ./.config file by using the default
symbol values from arch/$ARCH/defconfig.
"make allyesconfig"
Create a ./.config file by setting symbol
values to 'y' as much as possible.
"make allmodconfig"
Create a ./.config file by setting symbol
values to 'm' as much as possible.
"make allnoconfig" Create a ./.config file by setting symbol
values to 'n' as much as possible.
"make randconfig" Create a ./.config file by setting symbol
values to random values.

The allyesconfig/allmodconfig/allnoconfig/randconfig variants can
also use the environment variable KCONFIG_ALLCONFIG to specify a
filename that contains config options that the user requires to be
set to a specific value. If KCONFIG_ALLCONFIG=filename is not used,
"make *config" checks for a file named "all{yes/mod/no/random}.config"
for symbol values that are to be forced. If this file is not found,
it checks for a file named "all.config" to contain forced values.

NOTES on "make config":
- having unnecessary drivers will make the kernel bigger, and can
Expand Down
12 changes: 0 additions & 12 deletions trunk/arch/arm/common/scoop.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@
#include <asm/io.h>
#include <asm/hardware/scoop.h>

/* PCMCIA to Scoop linkage
There is no easy way to link multiple scoop devices into one
single entity for the pxa2xx_pcmcia device so this structure
is used which is setup by the platform code.
This file is never modular so this symbol is always
accessile to the board support files.
*/
struct scoop_pcmcia_config *platform_scoop_config;
EXPORT_SYMBOL(platform_scoop_config);

#define SCOOP_REG(d,adr) (*(volatile unsigned short*)(d +(adr)))

struct scoop_dev {
Expand Down
12 changes: 1 addition & 11 deletions trunk/arch/arm/mach-at91rm9200/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,23 +194,13 @@ void __init at91_add_device_eth(struct at91_eth_data *data) {}
#if defined(CONFIG_AT91_CF) || defined(CONFIG_AT91_CF_MODULE)
static struct at91_cf_data cf_data;

static struct resource at91_cf_resources[] = {
[0] = {
.start = AT91_CF_BASE,
/* ties up CS4, CS5, and CS6 */
.end = AT91_CF_BASE + (0x30000000 - 1),
.flags = IORESOURCE_MEM | IORESOURCE_MEM_8AND16BIT,
},
};

static struct platform_device at91rm9200_cf_device = {
.name = "at91_cf",
.id = -1,
.dev = {
.platform_data = &cf_data,
},
.resource = at91_cf_resources,
.num_resources = ARRAY_SIZE(at91_cf_resources),
.num_resources = 0,
};

void __init at91_add_device_cf(struct at91_cf_data *data)
Expand Down
9 changes: 6 additions & 3 deletions trunk/arch/arm/mach-pxa/corgi_ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,12 @@ static int __init corgi_ssp_probe(struct platform_device *dev)
int ret;

/* Chip Select - Disable All */
pxa_gpio_mode(ssp_machinfo->cs_lcdcon | GPIO_OUT | GPIO_DFLT_HIGH);
pxa_gpio_mode(ssp_machinfo->cs_max1111 | GPIO_OUT | GPIO_DFLT_HIGH);
pxa_gpio_mode(ssp_machinfo->cs_ads7846 | GPIO_OUT | GPIO_DFLT_HIGH);
GPDR(ssp_machinfo->cs_lcdcon) |= GPIO_bit(ssp_machinfo->cs_lcdcon); /* output */
GPSR(ssp_machinfo->cs_lcdcon) = GPIO_bit(ssp_machinfo->cs_lcdcon); /* High - Disable LCD Control/Timing Gen */
GPDR(ssp_machinfo->cs_max1111) |= GPIO_bit(ssp_machinfo->cs_max1111); /* output */
GPSR(ssp_machinfo->cs_max1111) = GPIO_bit(ssp_machinfo->cs_max1111); /* High - Disable MAX1111*/
GPDR(ssp_machinfo->cs_ads7846) |= GPIO_bit(ssp_machinfo->cs_ads7846); /* output */
GPSR(ssp_machinfo->cs_ads7846) = GPIO_bit(ssp_machinfo->cs_ads7846); /* High - Disable ADS7846*/

ret = ssp_init(&corgi_ssp_dev, ssp_machinfo->port, 0);

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-s3c2410/common-smdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static struct mtd_partition smdk_default_nand_part[] = {
.offset = 0,
},
[1] = {
.name = "S3C2410 flash partition 1",
.name = "S3C2410 flash parition 1",
.offset = 0,
.size = SZ_2M,
},
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-s3c2410/s3c2440-clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static int s3c2440_clk_add(struct sys_device *sysdev)

clkdivn = __raw_readl(S3C2410_CLKDIVN);
clkdivn |= S3C2440_CLKDIVN_UCLK;
__raw_writel(clkdivn, S3C2410_CLKDIVN);
__raw_writel(camdivn, S3C2410_CLKDIVN);

mutex_unlock(&clocks_mutex);
}
Expand Down
9 changes: 0 additions & 9 deletions trunk/arch/i386/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,4 @@ config X86_MPPARSE
depends on X86_LOCAL_APIC && !X86_VISWS
default y

config DOUBLEFAULT
default y
bool "Enable doublefault exception handler" if EMBEDDED
help
This option allows trapping of rare doublefault exceptions that
would otherwise cause a system to silently reboot. Disabling this
option saves about 4k and might cause you much additional grey
hair.

endmenu
5 changes: 1 addition & 4 deletions trunk/arch/i386/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ int __init acpi_parse_mcfg(unsigned long phys_addr, unsigned long size)
unsigned long i;
int config_size;

if (!phys_addr || !size)
if (!phys_addr || !size || !cpu_has_apic)
return -EINVAL;

mcfg = (struct acpi_table_mcfg *)__acpi_map_table(phys_addr, size);
Expand Down Expand Up @@ -1102,9 +1102,6 @@ int __init acpi_boot_table_init(void)
dmi_check_system(acpi_dmi_table);
#endif

if (!cpu_has_apic)
return -ENODEV;

/*
* If acpi_disabled, bail out
* One exception: acpi=ht continues far enough to enumerate LAPICs
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/apm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ static int apm_console_blank(int blank)
break;
}

if (error == APM_NOT_ENGAGED) {
if (error == APM_NOT_ENGAGED && state != APM_STATE_READY) {
static int tried;
int eng_error;
if (tried++ == 0) {
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/i386/kernel/cpu/amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ static void __init init_amd(struct cpuinfo_x86 *c)
set_bit(X86_FEATURE_K7, c->x86_capability);
break;
}
if (c->x86 >= 6)
set_bit(X86_FEATURE_FXSAVE_LEAK, c->x86_capability);

display_cacheinfo(c);

Expand Down
10 changes: 5 additions & 5 deletions trunk/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,17 +905,14 @@ static int powernowk8_target(struct cpufreq_policy *pol, unsigned targfreq, unsi
{
cpumask_t oldmask = CPU_MASK_ALL;
struct powernow_k8_data *data = powernow_data[pol->cpu];
u32 checkfid;
u32 checkvid;
u32 checkfid = data->currfid;
u32 checkvid = data->currvid;
unsigned int newstate;
int ret = -EIO;

if (!data)
return -EINVAL;

checkfid = data->currfid;
checkvid = data->currvid;

/* only run on specific CPU from here on */
oldmask = current->cpus_allowed;
set_cpus_allowed(current, cpumask_of_cpu(pol->cpu));
Expand Down Expand Up @@ -1109,6 +1106,9 @@ static unsigned int powernowk8_get (unsigned int cpu)

data = powernow_data[first_cpu(cpu_core_map[cpu])];

if (!data)
return -EINVAL;

if (!data)
return -EINVAL;

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/cpuid.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ static int cpuid_class_device_create(int i)
return err;
}

static int cpuid_class_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu)
static int __devinit cpuid_class_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu)
{
unsigned int cpu = (unsigned long)hcpu;

Expand Down
Loading

0 comments on commit a8480a6

Please sign in to comment.