Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13874
b: refs/heads/master
c: f51750d
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Jeff Garzik committed Nov 10, 2005
1 parent ea492a1 commit f2c1f65
Show file tree
Hide file tree
Showing 583 changed files with 13,386 additions and 19,901 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: 5643f000c1e10ab991182478b76550e1364c3570
refs/heads/master: f51750d5eab50f0db5396a5ca30d5bafc038c263
56 changes: 0 additions & 56 deletions trunk/Documentation/networking/dccp.txt

This file was deleted.

5 changes: 0 additions & 5 deletions trunk/Documentation/networking/ip-sysctl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ inet_peer_gc_maxtime - INTEGER

TCP variables:

tcp_abc - INTEGER
Controls Appropriate Byte Count defined in RFC3465. If set to
0 then does congestion avoid once per ack. 1 is conservative
value, and 2 is more agressive.

tcp_syn_retries - INTEGER
Number of times initial SYNs for an active TCP connection attempt
will be retransmitted. Should not be higher than 255. Default value
Expand Down
2 changes: 1 addition & 1 deletion trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ DCCP PROTOCOL
P: Arnaldo Carvalho de Melo
M: acme@mandriva.com
L: dccp@vger.kernel.org
W: http://linux-net.osdl.org/index.php/DCCP
W: http://www.wlug.org.nz/DCCP
S: Maintained

DECnet NETWORK LAYER
Expand Down
4 changes: 2 additions & 2 deletions trunk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ AFLAGS_KERNEL =
# Needed to be compatible with the O= option
LINUXINCLUDE := -Iinclude \
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
-include include/linux/autoconf.h
-imacros include/linux/autoconf.h

CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)

Expand Down Expand Up @@ -407,7 +407,7 @@ outputmakefile:
# of make so .config is not included in this case either (for *config).

no-dot-config-targets := clean mrproper distclean \
cscope TAGS tags help %docs check% kernelrelease
cscope TAGS tags help %docs check%

config-targets := 0
mixed-targets := 0
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,6 @@ source "arch/arm/plat-omap/Kconfig"

source "arch/arm/mach-omap1/Kconfig"

source "arch/arm/mach-omap2/Kconfig"

source "arch/arm/mach-s3c2410/Kconfig"

source "arch/arm/mach-lh7a40x/Kconfig"
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ textaddr-$(CONFIG_ARCH_FORTUNET) := 0xc0008000
machine-$(CONFIG_ARCH_IXP4XX) := ixp4xx
machine-$(CONFIG_ARCH_IXP2000) := ixp2000
machine-$(CONFIG_ARCH_OMAP1) := omap1
machine-$(CONFIG_ARCH_OMAP2) := omap2
incdir-$(CONFIG_ARCH_OMAP) := omap
machine-$(CONFIG_ARCH_S3C2410) := s3c2410
machine-$(CONFIG_ARCH_LH7A40X) := lh7a40x
Expand Down
38 changes: 19 additions & 19 deletions trunk/arch/arm/common/locomo.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,17 +550,17 @@ struct locomo_save_data {
u16 LCM_SPIMD;
};

static int locomo_suspend(struct platform_device *dev, pm_message_t state)
static int locomo_suspend(struct device *dev, pm_message_t state)
{
struct locomo *lchip = platform_get_drvdata(dev);
struct locomo *lchip = dev_get_drvdata(dev);
struct locomo_save_data *save;
unsigned long flags;

save = kmalloc(sizeof(struct locomo_save_data), GFP_KERNEL);
if (!save)
return -ENOMEM;

dev->dev.power.saved_state = (void *) save;
dev->power.saved_state = (void *) save;

spin_lock_irqsave(&lchip->lock, flags);

Expand Down Expand Up @@ -594,14 +594,14 @@ static int locomo_suspend(struct platform_device *dev, pm_message_t state)
return 0;
}

static int locomo_resume(struct platform_device *dev)
static int locomo_resume(struct device *dev)
{
struct locomo *lchip = platform_get_drvdata(dev);
struct locomo *lchip = dev_get_drvdata(dev);
struct locomo_save_data *save;
unsigned long r;
unsigned long flags;

save = (struct locomo_save_data *) dev->dev.power.saved_state;
save = (struct locomo_save_data *) dev->power.saved_state;
if (!save)
return 0;

Expand Down Expand Up @@ -760,26 +760,27 @@ static void __locomo_remove(struct locomo *lchip)
kfree(lchip);
}

static int locomo_probe(struct platform_device *dev)
static int locomo_probe(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct resource *mem;
int irq;

mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (!mem)
return -EINVAL;
irq = platform_get_irq(dev, 0);
irq = platform_get_irq(pdev, 0);

return __locomo_probe(&dev->dev, mem, irq);
return __locomo_probe(dev, mem, irq);
}

static int locomo_remove(struct platform_device *dev)
static int locomo_remove(struct device *dev)
{
struct locomo *lchip = platform__get_drvdata(dev);
struct locomo *lchip = dev_get_drvdata(dev);

if (lchip) {
__locomo_remove(lchip);
platform_set_drvdata(dev, NULL);
dev_set_drvdata(dev, NULL);
}

return 0;
Expand All @@ -791,16 +792,15 @@ static int locomo_remove(struct platform_device *dev)
* the per-machine level, and then have this driver pick
* up the registered devices.
*/
static struct platform_driver locomo_device_driver = {
static struct device_driver locomo_device_driver = {
.name = "locomo",
.bus = &platform_bus_type,
.probe = locomo_probe,
.remove = locomo_remove,
#ifdef CONFIG_PM
.suspend = locomo_suspend,
.resume = locomo_resume,
#endif
.driver = {
.name = "locomo",
},
};

/*
Expand Down Expand Up @@ -1126,13 +1126,13 @@ static int __init locomo_init(void)
{
int ret = bus_register(&locomo_bus_type);
if (ret == 0)
platform_driver_register(&locomo_device_driver);
driver_register(&locomo_device_driver);
return ret;
}

static void __exit locomo_exit(void)
{
platform_driver_unregister(&locomo_device_driver);
driver_unregister(&locomo_device_driver);
bus_unregister(&locomo_bus_type);
}

Expand Down
42 changes: 21 additions & 21 deletions trunk/arch/arm/common/sa1111.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,9 +801,9 @@ struct sa1111_save_data {

#ifdef CONFIG_PM

static int sa1111_suspend(struct platform_device *dev, pm_message_t state)
static int sa1111_suspend(struct device *dev, pm_message_t state)
{
struct sa1111 *sachip = platform_get_drvdata(dev);
struct sa1111 *sachip = dev_get_drvdata(dev);
struct sa1111_save_data *save;
unsigned long flags;
unsigned int val;
Expand All @@ -812,7 +812,7 @@ static int sa1111_suspend(struct platform_device *dev, pm_message_t state)
save = kmalloc(sizeof(struct sa1111_save_data), GFP_KERNEL);
if (!save)
return -ENOMEM;
dev->dev.power.saved_state = save;
dev->power.saved_state = save;

spin_lock_irqsave(&sachip->lock, flags);

Expand Down Expand Up @@ -859,14 +859,14 @@ static int sa1111_suspend(struct platform_device *dev, pm_message_t state)
* restored by their respective drivers, and must be called
* via LDM after this function.
*/
static int sa1111_resume(struct platform_device *dev)
static int sa1111_resume(struct device *dev)
{
struct sa1111 *sachip = platform_get_drvdata(dev);
struct sa1111 *sachip = dev_get_drvdata(dev);
struct sa1111_save_data *save;
unsigned long flags, id;
void __iomem *base;

save = (struct sa1111_save_data *)dev->dev.power.saved_state;
save = (struct sa1111_save_data *)dev->power.saved_state;
if (!save)
return 0;

Expand All @@ -879,7 +879,7 @@ static int sa1111_resume(struct platform_device *dev)
id = sa1111_readl(sachip->base + SA1111_SKID);
if ((id & SKID_ID_MASK) != SKID_SA1111_ID) {
__sa1111_remove(sachip);
platform_set_drvdata(dev, NULL);
dev_set_drvdata(dev, NULL);
kfree(save);
return 0;
}
Expand Down Expand Up @@ -911,7 +911,7 @@ static int sa1111_resume(struct platform_device *dev)

spin_unlock_irqrestore(&sachip->lock, flags);

dev->dev.power.saved_state = NULL;
dev->power.saved_state = NULL;
kfree(save);

return 0;
Expand All @@ -922,8 +922,9 @@ static int sa1111_resume(struct platform_device *dev)
#define sa1111_resume NULL
#endif

static int sa1111_probe(struct platform_device *pdev)
static int sa1111_probe(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct resource *mem;
int irq;

Expand All @@ -932,20 +933,20 @@ static int sa1111_probe(struct platform_device *pdev)
return -EINVAL;
irq = platform_get_irq(pdev, 0);

return __sa1111_probe(&pdev->dev, mem, irq);
return __sa1111_probe(dev, mem, irq);
}

static int sa1111_remove(struct platform_device *pdev)
static int sa1111_remove(struct device *dev)
{
struct sa1111 *sachip = platform_get_drvdata(pdev);
struct sa1111 *sachip = dev_get_drvdata(dev);

if (sachip) {
__sa1111_remove(sachip);
platform_set_drvdata(pdev, NULL);
dev_set_drvdata(dev, NULL);

#ifdef CONFIG_PM
kfree(pdev->dev.power.saved_state);
pdev->dev.power.saved_state = NULL;
kfree(dev->power.saved_state);
dev->power.saved_state = NULL;
#endif
}

Expand All @@ -961,14 +962,13 @@ static int sa1111_remove(struct platform_device *pdev)
* We also need to handle the SDRAM configuration for
* PXA250/SA1110 machine classes.
*/
static struct platform_driver sa1111_device_driver = {
static struct device_driver sa1111_device_driver = {
.name = "sa1111",
.bus = &platform_bus_type,
.probe = sa1111_probe,
.remove = sa1111_remove,
.suspend = sa1111_suspend,
.resume = sa1111_resume,
.driver = {
.name = "sa1111",
},
};

/*
Expand Down Expand Up @@ -1256,13 +1256,13 @@ static int __init sa1111_init(void)
{
int ret = bus_register(&sa1111_bus_type);
if (ret == 0)
platform_driver_register(&sa1111_device_driver);
driver_register(&sa1111_device_driver);
return ret;
}

static void __exit sa1111_exit(void)
{
platform_driver_unregister(&sa1111_device_driver);
driver_unregister(&sa1111_device_driver);
bus_unregister(&sa1111_bus_type);
}

Expand Down
Loading

0 comments on commit f2c1f65

Please sign in to comment.