linux-2.6
18 years ago[NET]: __be'ify *_type_trans()
Alexey Dobriyan [Tue, 12 Jul 2005 19:08:43 +0000 (12:08 -0700)] 
[NET]: __be'ify *_type_trans()

tr_type_trans(), hippi_type_trans() left as-is.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NETFILTER]: Revert nf_reset change
Phil Oester [Tue, 12 Jul 2005 18:57:52 +0000 (11:57 -0700)] 
[NETFILTER]: Revert nf_reset change

Revert the nf_reset change that caused so much trouble, drop conntrack
references manually before packets are queued to packet sockets.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PATCH] USB: add ldusb driver
Michael Hund [Mon, 27 Jun 2005 20:44:22 +0000 (22:44 +0200)] 
[PATCH] USB: add ldusb driver

The following driver provides complete interrupt-in and interrupt-out
reports (raw data) to a user program. Until now it uses the
HIDIOCGDEVINFO ioctl call, because I don't know better :-(. Perhaps, it
will be ok for you - and I will be happy, if you assign 8 minor numbers.

I have tested it in several environments and it works very well for me.
However, it has a problem with two or more devices at the same hub, if
the two or more devices need 1 ms interrupt-in transfers. Unfortunately
more than one interrupt-in transfer every ms isn't possible (ehci
driver?). This is why the min_interrupt_in_interval and
min_interrupt_out_interval are increased to 2 ms (see the corresponding
module parameters). This way, I can use two devices simultaneously at
the same hub.

Signed-off-by: Michael Hund <mhund@ld-didactic.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: fix usb reference count bug in cdc-acm driver
brian@murphy.dk [Wed, 29 Jun 2005 23:53:29 +0000 (16:53 -0700)] 
[PATCH] USB: fix usb reference count bug in cdc-acm driver

This increases the reference count on the usb cdc acm control interface
which is referred to by the tty interface provided by the driver. This
allows the deferred removal of the tty after the physical device is
disconnected if the tty is held open at the time of disconnection.

Signed-off-by: brian@murphy.dk
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: export usb_get_intf() and usb_put_intf()
brian@murphy.dk [Wed, 29 Jun 2005 23:53:29 +0000 (16:53 -0700)] 
[PATCH] USB: export usb_get_intf() and usb_put_intf()

Export usb_get_intf and usb_put_intf so that modules can increase
usb interface reference counts.

Signed-off-by: brian@murphy.dk
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: another cdc descriptor
david-b@pacbell.net [Wed, 29 Jun 2005 14:04:14 +0000 (07:04 -0700)] 
[PATCH] USB: another cdc descriptor

This adds another CDC descriptor type to <linux/usb_cdc.h>; the main claim
to fame for this is that some Motorola phones include it.  It's not currently
needed by any driver code; included for completeness.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: fix ohci merge glitch
david-b@pacbell.net [Wed, 29 Jun 2005 14:03:10 +0000 (07:03 -0700)] 
[PATCH] USB: fix ohci merge glitch

A patch re-organizing some parts of root hub initialization deleted the
code initializing the bus-neutral reboot/shutdown notifier for OHCI.
This patch just restores that deleted code.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: ohci-omap pm updates
david-b@pacbell.net [Wed, 29 Jun 2005 13:59:14 +0000 (06:59 -0700)] 
[PATCH] USB: ohci-omap pm updates

The recent "pm_message_t" changes removed functionality from the Linux
PM framework.  This patch removes it from the OMAP OHCI too, removing
the distinction between (previous) PM_SUSPEND_MEM and PM_SUSPEND_DISK
state transitions ... now the only suspend semantics supportable are
what was previously PM_SUSPEND_DISK (4) and is now "PMSG_SUSPEND" (3).

From: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: omap_udc tweaks
david-b@pacbell.net [Wed, 29 Jun 2005 14:00:56 +0000 (07:00 -0700)] 
[PATCH] USB: omap_udc tweaks

Minor OMAP updates that somehow got dropped from previous patches.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: gadget/ether build fixes.
Ian Campbell [Wed, 29 Jun 2005 09:20:29 +0000 (10:20 +0100)] 
[PATCH] USB: gadget/ether build fixes.

I also needed the following on 2.6.13-rc1 without CONFIG_USB_ETH_RNDIS,
symbol fs_status_desc isn't available in that case on PXA255.

This builds both with and without ETH_RNDIS, but I haven't actually
tested either.

Signed-off-by: Ian Campbell <icampbell@arcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: gadget/ether fixes
Ian Campbell [Wed, 29 Jun 2005 09:15:32 +0000 (10:15 +0100)] 
[PATCH] USB: gadget/ether fixes

Signed-off-by: Ian Campbell <icampbell@arcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: SN9C10x driver updates
Luca Risolia [Sat, 25 Jun 2005 14:30:24 +0000 (16:30 +0200)] 
[PATCH] USB: SN9C10x driver updates

SN9C10x driver updates.

Changes: + new, - removed, * cleanup, @ bugfix

@ Remove bad get_ctrl()'s
* Documentation updates
+ Add 0x0c45/0x602d to the list of SN9C10x based devices
+ Add support for OV7630 image sensors

Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: add LD devices to hid blacklist
Michael Hund [Mon, 27 Jun 2005 20:44:22 +0000 (22:44 +0200)] 
[PATCH] USB: add LD devices to hid blacklist

below you will find one patch to hid-core.c, which lets usbhid ignore
our HID devices. It would be nice, if you can apply it.

Signed-off-by: Michael Hund <mhund@ld-didactic.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: coverity: (desc->bitmap)[] overrun fix
KAMBAROV, ZAUR [Sat, 25 Jun 2005 05:20:35 +0000 (22:20 -0700)] 
[PATCH] USB: coverity: (desc->bitmap)[] overrun fix

The length of the array desc->bitmap is 3, and not 4:

Definitions involved:

In drivers/usb/core/hcd.h

464   #define bitmap  DeviceRemovable

In drivers/usb/host/ohci-hub.c

395   struct usb_hub_descriptor *desc

In drivers/usb/core/hub.h

130   struct usb_hub_descriptor {
131   __u8  bDescLength;
132   __u8  bDescriptorType;
133   __u8  bNbrPorts;
134   __u16 wHubCharacteristics;
135   __u8  bPwrOn2PwrGood;
136   __u8  bHubContrCurrent;
137        /* add 1 bit for hub status change; round to bytes */
138   __u8  DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8];
139   __u8  PortPwrCtrlMask[(USB_MAXCHILDREN + 1 + 7) / 8];
140   } __attribute__ ((packed));

In include/linux/usb.h

306   #define USB_MAXCHILDREN (16)

This defect was found automatically by Coverity Prevent, a static analysis
tool.

(akpm: this code should be shot.  Field `bitmap' doesn't exist in struct
usb_hub_descriptor.  And this .c file is #included in
drivers/usb/host/ohci-hcd.c, and someone somewhere #defines `bitmap' to
`DeviceRemovable'.

>From a maintainability POV it would be better to memset the whole array
beforehand - I changed the patch to do that)

Signed-off-by: Zaur Kambarov <zkambarov@coverity.com>
Cc: <linux-usb-devel@lists.sourceforge.net?
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: add driver for Keyspan Digital Remote
Michael Downey [Mon, 27 Jun 2005 17:48:26 +0000 (11:48 -0600)] 
[PATCH] USB: add driver for Keyspan Digital Remote

This driver is a basic keypress input driver for the Keyspan Digital
Remote with part number UIA-11.  Currently there is an older remote with
part number UIA-10 which isn't supported by this driver.  Support for
the older UIA-10 could be added but a binary file is required to be
download to the device, and I don't have that file.  I also don't have a
UIA-10 device so I wouldn't be able to test any of the changes.

Signed-off-by: Michael Downey <downey@zymeta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: net2280 warning fix
Andrew Morton [Mon, 27 Jun 2005 00:18:46 +0000 (17:18 -0700)] 
[PATCH] USB: net2280 warning fix

drivers/usb/gadget/net2280.c: In function 'show_registers':
drivers/usb/gadget/net2280.c:1501: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: Fix kmalloc's flags type in USB
Olav Kongas [Thu, 23 Jun 2005 17:25:36 +0000 (20:25 +0300)] 
[PATCH] USB: Fix kmalloc's flags type in USB

Greg,

This patch fixes the kmalloc() flags argument type in USB
subsystem; hopefully all of its occurences. The patch was
made against patch-2.6.12-git2 from Jun 20.

Cleanup of flags for kmalloc() in USB subsystem.

Signed-off-by: Olav Kongas <ok@artecdesign.ee>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: isp116x-hcd cleanup
Olav Kongas [Thu, 23 Jun 2005 17:12:24 +0000 (20:12 +0300)] 
[PATCH] USB: isp116x-hcd cleanup

Sorry that it took so long. Here comes a cleanup patch that
addresses the remarks by Alexey Dobriyan about
gregkh-usb-usb-isp116x-hcd-add.patch EXCEPT the remark about
the typecasting of mem_flags argument for kcalloc; this will
be addressed in a later patch.

OlavCleanup of isp116x-hcd.

Signed off by: Olav Kongas <ok@artecdesign.ee>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: Patch to make usbmon to print control setup packets
Pete Zaitcev [Sat, 25 Jun 2005 21:32:59 +0000 (14:32 -0700)] 
[PATCH] USB: Patch to make usbmon to print control setup packets

Make usbmon to print Setup packets of Control transfers. This is useful
when debugging enumeration issues.

This is a change to the trace format which is not fully compatible.
A parser has to look at the data length word now. If that word is
a character like 's', read setup packet before proceeding with data.
I decided not to bump the API tag for this because not many such
parsers exist at this point.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: SiS USB Makefile fixes
Thomas Winischhofer [Fri, 24 Jun 2005 16:44:20 +0000 (18:44 +0200)] 
[PATCH] USB: SiS USB Makefile fixes

although 2.6.12 now contains the sisusb driver, it failes to build this
driver due to a missing patch of the Makefile.

From: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB ATM: fix line resync logic
Duncan Sands [Thu, 23 Jun 2005 07:37:56 +0000 (09:37 +0200)] 
[PATCH] USB ATM: fix line resync logic

We map states 0x00 and 0x10 to the ATM_PHY_SIG_LOST flag.  The current logic fails to
resync the line if we get state 0x10 followed by 0x00, since we only resync the line
when the state is 0x00 and the flag changed.  Doubly fixed by (1) always resyncing the
line when the state is 0x00 even if the state didn't change, and (2) keeping track of
the last state, not just the flag.  We do (2) as well as (1) in order to get better log
messages.

This is a tweaked version of the original patch by Aurelio Arroyo.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB ATM: robustify poll throttling
Duncan Sands [Thu, 23 Jun 2005 07:23:10 +0000 (09:23 +0200)] 
[PATCH] USB ATM: robustify poll throttling

No functional change, but less likely to break in the future.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB ATM: line speed measured in Kb not Kib
Duncan Sands [Thu, 23 Jun 2005 07:20:50 +0000 (09:20 +0200)] 
[PATCH] USB ATM: line speed measured in Kb not Kib

Spotted by David Woodhouse.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: fix ftdi_sio compiler warnings
Greg Kroah-Hartman [Wed, 29 Jun 2005 23:53:29 +0000 (16:53 -0700)] 
[PATCH] USB: fix ftdi_sio compiler warnings

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB ftdi_sio: remove redundant TIOCMBIS and TIOCMBIC code
Ian Abbott [Mon, 20 Jun 2005 16:10:19 +0000 (17:10 +0100)] 
[PATCH] USB ftdi_sio: remove redundant TIOCMBIS and TIOCMBIC code

ftdi_sio: Remove redundant handling of TIOCMBIS and TIOCMBIC ioctls
as they are handled in the tty layer and never reach this driver.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB ftdi_sio: reduce device id table clutter
Ian Abbott [Mon, 20 Jun 2005 15:45:42 +0000 (16:45 +0100)] 
[PATCH] USB ftdi_sio: reduce device id table clutter

ftdi_sio: Use a single usb_device_id table and detect the type of chip
programatically.  The table also flags devices requiring special
initialization.  The patch makes the driver about 10K smaller and makes
it easier to add new device IDs.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: khubd: use kthread API
akpm@osdl.org [Mon, 20 Jun 2005 21:29:58 +0000 (14:29 -0700)] 
[PATCH] USB: khubd: use kthread API

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB Storage: Remove unneeded SC/P
Phil Dibowitz [Thu, 23 Jun 2005 05:47:13 +0000 (22:47 -0700)] 
[PATCH] USB Storage: Remove unneeded SC/P

This patch removes an unneeded subclass and protocol from the
07af/0005/100 entry in unsual_devs.h as reported by Alfred Ganz
<alfred-ganz@agci.com>.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: add bMaxPacketSize0 attribute to sysfs
Greg Kroah-Hartman [Wed, 29 Jun 2005 23:53:29 +0000 (16:53 -0700)] 
[PATCH] USB: add bMaxPacketSize0 attribute to sysfs

For some reason this was not there...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[IA64] pcibus_to_node implementation for IA64
Christoph Lameter [Thu, 7 Jul 2005 23:59:00 +0000 (16:59 -0700)] 
[IA64] pcibus_to_node implementation for IA64

pcibus_to_node provides a way for the Linux kernel to identify to which
node a certain pcibus connects to. Allocations of control structures
for devices can then be made on the node where the pci bus is located
to allow local access during interrupt and other device manipulation.

This patch provides a new "node" field in the the pci_controller
structure. The node field will be set based on ACPI information (thanks
to Alex Williamson  <alex.williamson@hp.com for that piece).

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
18 years ago[MTD] Make XIP support depend on CONFIG_ARM
Thomas Gleixner [Tue, 12 Jul 2005 15:51:06 +0000 (17:51 +0200)] 
[MTD] Make XIP support depend on CONFIG_ARM

ARM is the only known user of this at the moment.
Prevent allyes builds for other archs from failing

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
18 years ago[ACPI] increase MAX_IO_APICS to 64 on i386
Len Brown [Sun, 3 Jul 2005 20:42:23 +0000 (16:42 -0400)] 
[ACPI] increase MAX_IO_APICS to 64 on i386

x86_64 was already 128

http://bugzilla.kernel.org/show_bug.cgi?id=3754

Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] enable C2 and C3 idle power states on SMP
Venkatesh Pallipadi [Fri, 15 Apr 2005 19:07:10 +0000 (15:07 -0400)] 
[ACPI] enable C2 and C3 idle power states on SMP
http://bugzilla.kernel.org/show_bug.cgi?id=4401

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[NET]: move config options out to individual protocols
Sam Ravnborg [Tue, 12 Jul 2005 04:13:56 +0000 (21:13 -0700)] 
[NET]: move config options out to individual protocols

Move the protocol specific config options out to the specific protocols.
With this change net/Kconfig now starts to become readable and serve as a
good basis for further re-structuring.

The menu structure is left almost intact, except that indention is
fixed in most cases. Most visible are the INET changes where several
"depends on INET" are replaced with a single ifdef INET / endif pair.

Several new files were created to accomplish this change - they are
small but serve the purpose that config options are now distributed
out where they belongs.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ACPI] EC GPE-disabled issue
Luming Yu [Sat, 23 Apr 2005 03:07:10 +0000 (23:07 -0400)] 
[ACPI] EC GPE-disabled issue
http://bugzilla.kernel.org/show_bug.cgi?id=3851

Signed-off-by: Luming Yu <luming.yu@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] fix merge error that broke CONFIG_ACPI_DEBUG=y build
Len Brown [Fri, 5 Apr 2019 05:07:45 +0000 (00:07 -0500)] 
[ACPI] fix merge error that broke CONFIG_ACPI_DEBUG=y build

Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] cleanup: delete !IA64_SGI_SN from acpi/Kconfig
Jesse Barnes [Tue, 19 Apr 2005 03:52:17 +0000 (23:52 -0400)] 
[ACPI] cleanup: delete !IA64_SGI_SN from acpi/Kconfig

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] fix C1 patch for IA64
Venkatesh Pallipadi [Tue, 19 Apr 2005 03:06:47 +0000 (23:06 -0400)] 
[ACPI] fix C1 patch for IA64
http://bugzilla.kernel.org/show_bug.cgi?id=4233

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] quiet dmesg related to ACPI PM of PCI devices
David Shaohua Li [Tue, 19 Apr 2005 02:59:23 +0000 (22:59 -0400)] 
[ACPI] quiet dmesg related to ACPI PM of PCI devices

DBG("No ACPI bus support for %s\n", dev->bus_id);
http://bugzilla.kernel.org/show_bug.cgi?id=4277

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years agoACPICA 20050408 from Bob Moore
Robert Moore [Tue, 19 Apr 2005 02:49:35 +0000 (22:49 -0400)] 
ACPICA 20050408 from Bob Moore

Fixed three cases in the interpreter where an "index"
argument to an ASL function was still (internally) 32
bits instead of the required 64 bits.  This was the Index
argument to the Index, Mid, and Match operators.

The "strupr" function is now permanently local
(acpi_ut_strupr), since this is not a POSIX-defined
function and not present in most kernel-level C
libraries. References to the C library strupr function
have been removed from the headers.

Completed the deployment of static
functions/prototypes. All prototypes with the static
attribute have been moved from the headers to the owning
C file.

ACPICA 20050329 from Bob Moore

An error is now generated if an attempt is made to create
a Buffer Field of length zero (A CreateField with a length
operand of zero.)

The interpreter now issues a warning whenever executable
code at the module level is detected during ACPI table
load. This will give some idea of the prevalence of this
type of code.

Implemented support for references to named objects (other
than control methods) within package objects.

Enhanced package object output for the debug
object. Package objects are now completely dumped, showing
all elements.

Enhanced miscellaneous object output for the debug
object. Any object can now be written to the debug object
(for example, a device object can be written, and the type
of the object will be displayed.)

The "static" qualifier has been added to all local
functions across the core subsystem.

The number of "long" lines (> 80 chars) within the source
has been significantly reduced, by about 1/3.

Cleaned up all header files to ensure that all CA/iASL
functions are prototyped (even static functions) and the
formatting is consistent.

Two new header files have been added, acopcode.h and
acnames.h.

Removed several obsolete functions that were no longer
used.

Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] Deprecate /proc/acpi/sleep in favor of /sys/power/state
Len Brown [Fri, 15 Apr 2005 03:12:56 +0000 (23:12 -0400)] 
[ACPI] Deprecate /proc/acpi/sleep in favor of /sys/power/state

Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] S3 resume -- use lgdtl, not lgdt
Nickolai Zeldovich [Sat, 9 Apr 2005 03:37:34 +0000 (23:37 -0400)] 
[ACPI] S3 resume -- use lgdtl, not lgdt

From: Nickolai Zeldovich <kolya@MIT.EDU>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[NET]: add a top-level Networking menu to *config
Sam Ravnborg [Tue, 12 Jul 2005 04:03:49 +0000 (21:03 -0700)] 
[NET]: add a top-level Networking menu to *config

Create a new top-level menu named "Networking" thus moving
net related options and protocol selection way from the drivers
menu and up on the top-level where they belong.

To implement this all architectures has to source "net/Kconfig" before
drivers/*/Kconfig in their Kconfig file. This change has been
implemented for all architectures.

Device drivers for ordinary NIC's are still to be found
in the Device Drivers section, but Bluetooth, IrDA and ax25
are located with their corresponding menu entries under the new
networking menu item.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ACPI] PNPACPI vs sound IRQ
David Shaohua Li [Fri, 1 Apr 2005 05:07:31 +0000 (00:07 -0500)] 
[ACPI] PNPACPI vs sound IRQ

http://bugme.osdl.org/show_bug.cgi?id=4016

Written-by: David Shaohua Li <shaohua.li@intel.com>
Acked-by: Adam Belay <abelay@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] update /proc/acpi/processor/*/power even if only C1 support
Venkatesh Pallipadi [Fri, 1 Apr 2005 04:23:15 +0000 (23:23 -0500)] 
[ACPI] update /proc/acpi/processor/*/power even if only C1 support

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[IPV4]: Prevent oops when printing martian source
Olaf Kirch [Tue, 12 Jul 2005 04:01:42 +0000 (21:01 -0700)] 
[IPV4]: Prevent oops when printing martian source

In some cases, we may be generating packets with a source address that
qualifies as martian. This can happen when we're in the middle of setting
up the network, and netfilter decides to reject a packet with an RST.
The IPv4 routing code would try to print a warning and oops, because
locally generated packets do not have a valid skb->mac.raw pointer
at this point.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ACPI] Evaluate CPEI Processor Override flag
Ashok Raj [Fri, 1 Apr 2005 03:51:10 +0000 (22:51 -0500)] 
[ACPI] Evaluate CPEI Processor Override flag

ACPI 3.0 added a Correctable Platform Error Interrupt (CPEI)
Processor Overide flag to MADT.Platform_Interrupt_Source.
Record the processor that was provided as hint from ACPI.

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] hotplug Processor consideration in acpi_bus_add()
Keiichiro Tokunaga [Thu, 31 Mar 2005 04:15:47 +0000 (23:15 -0500)] 
[ACPI] hotplug Processor consideration in acpi_bus_add()

Signed-off-by: Keiichiro Tokunaga <tokunaga.keiich@jp.fujitsu.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[IPVS]: Add and reorder bh locks after moving to keventd.
Julian Anastasov [Tue, 12 Jul 2005 03:59:57 +0000 (20:59 -0700)] 
[IPVS]: Add and reorder bh locks after moving to keventd.

An addition to the last ipvs changes that move
update_defense_level/si_meminfo to keventd:

- ip_vs_random_dropentry now runs in process context and should use _bh
  locks to protect from softirqs

- update_defense_level still needs _bh locks after si_meminfo is called,
  for the same purpose

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ACPI] fix debug-mode build warning in acpi/hotkey.c
Andrew Morton [Thu, 31 Mar 2005 03:53:30 +0000 (22:53 -0500)] 
[ACPI] fix debug-mode build warning in acpi/hotkey.c

drivers/acpi/hotkey.c: In function `create_polling_proc':
drivers/acpi/hotkey.c:334: warning: ISO C90 forbids mixed declarations and code

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[NET]: Trivial spelling fix patch for net/Kconfig
Jesper Juhl [Tue, 12 Jul 2005 03:59:03 +0000 (20:59 -0700)] 
[NET]: Trivial spelling fix patch for net/Kconfig

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ACPI] fix kmalloc size bug in acpi/video.c
Paulo Marques [Thu, 31 Mar 2005 03:39:49 +0000 (22:39 -0500)] 
[ACPI] fix kmalloc size bug in acpi/video.c

acpi_video_device_find_cap() used &p instead of *p
when calculating storage size, thus allocating
only 4 or 8 bytes instead of 12...

Also, kfree(NULL) is legal, so remove some unneeded checks.

From: Paulo Marques <pmarques@grupopie.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] fix potential NULL dereference in acpi/video.c
Adrian Bunk [Thu, 31 Mar 2005 03:31:35 +0000 (22:31 -0500)] 
[ACPI] fix potential NULL dereference in acpi/video.c

Found-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[SCTP]: __nocast annotations
Alexey Dobriyan [Tue, 12 Jul 2005 03:57:47 +0000 (20:57 -0700)] 
[SCTP]: __nocast annotations

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ACPI] check for kmalloc failure in toshiba_acpi.c
Panagiotis Issaris [Thu, 31 Mar 2005 03:15:36 +0000 (22:15 -0500)] 
[ACPI] check for kmalloc failure in toshiba_acpi.c

Signed-off-by: Panagiotis Issaris <takis@gna.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] fix build warning
Andrew Morton [Thu, 31 Mar 2005 03:12:13 +0000 (22:12 -0500)] 
[ACPI] fix build warning

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years agocleanup: remove unnecessary initializer on static pointers
Greg Kroah-Hartman [Thu, 31 Mar 2005 02:23:19 +0000 (21:23 -0500)] 
cleanup: remove unnecessary initializer on static pointers

Suggested-by: Greg KH <greg@kroah.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] PNPACPI parse error
Matthieu Castet [Fri, 25 Mar 2005 17:03:15 +0000 (12:03 -0500)] 
[ACPI] PNPACPI parse error

http://bugzilla.kernel.org/show_bug.cgi?id=3912

Written-by: matthieu castet <castet.matthieu@free.fr>
Acked-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] gut acpi_pci_choose_state() to avoid conflict
Len Brown [Wed, 23 Mar 2005 21:16:03 +0000 (16:16 -0500)] 
[ACPI] gut acpi_pci_choose_state() to avoid conflict
with pending pm_message_t re-definition.

Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] fix EC access width
Luming Yu [Sat, 19 Mar 2005 06:54:47 +0000 (01:54 -0500)] 
[ACPI] fix EC access width
http://bugzilla.kernel.org/show_bug.cgi?id=4346

Written-by: David Shaohua Li and Luming Yu
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] Enable EC Burst Mode
Dmitry Torokhov [Sat, 19 Mar 2005 06:10:05 +0000 (01:10 -0500)] 
[ACPI] Enable EC Burst Mode

Fixes several Embedded Controller issues, including
button failure and battery status AE_TIME failure.

http://bugzilla.kernel.org/show_bug.cgi?id=3851

Based on patch by: Andi Kleen <ak@suse.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Luming Yu <luming.yu@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] pci_set_power_state() now calls
David Shaohua Li [Sat, 19 Mar 2005 05:16:18 +0000 (00:16 -0500)] 
[ACPI] pci_set_power_state() now calls
platform_pci_set_power_state()
and ACPI can answer

http://bugzilla.kernel.org/show_bug.cgi?id=4277

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] PCI can now get suspend state from firmware
David Shaohua Li [Sat, 19 Mar 2005 05:15:48 +0000 (00:15 -0500)] 
[ACPI] PCI can now get suspend state from firmware

pci_choose_state() can now call
platform_pci_choose_state()
and ACPI can answer

http://bugzilla.kernel.org/show_bug.cgi?id=4277

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] Bind ACPI and PCI devices
David Shaohua Li [Fri, 18 Mar 2005 23:53:36 +0000 (18:53 -0500)] 
[ACPI] Bind ACPI and PCI devices

http://bugzilla.kernel.org/show_bug.cgi?id=4277

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] Bind PCI devices with ACPI devices
David Shaohua Li [Fri, 18 Mar 2005 23:45:35 +0000 (18:45 -0500)] 
[ACPI] Bind PCI devices with ACPI devices

Implement the framework for binding physical devices
with ACPI devices. A physical bus like PCI bus
should create a 'acpi_bus_type', with:

.find_device:
        For device which has parent such as normal PCI devices.

.find_bridge:
        It's for special devices, such as PCI root bridge
or IDE controller.  Such devices generally haven't a
parent or ->bus. We use the special method
to get an ACPI handle.

Uses new field in struct device: firmware_data

http://bugzilla.kernel.org/show_bug.cgi?id=4277

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] generic Hot Key support
Luming Yu [Fri, 18 Mar 2005 23:03:45 +0000 (18:03 -0500)] 
[ACPI] generic Hot Key support

See Documentation/acpi-hotkey.txt

Use cmdline "acpi_specific_hotkey" to enable
legacy platform specific drivers.

http://bugzilla.kernel.org/show_bug.cgi?id=3887

Signed-off-by: Luming Yu <luming.yu@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] S3 Suspend to RAM: fix driver suspend/resume methods
David Shaohua Li [Fri, 18 Mar 2005 21:43:54 +0000 (16:43 -0500)] 
[ACPI] S3 Suspend to RAM: fix driver suspend/resume methods

Drivers should do this:

.suspend()
pci_disable_device()

.resume()
pci_enable_device()

http://bugzilla.kernel.org/show_bug.cgi?id=3469

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] S3 Suspend to RAM: interrupt resume fix
David Shaohua Li [Fri, 18 Mar 2005 21:30:29 +0000 (16:30 -0500)] 
[ACPI] S3 Suspend to RAM: interrupt resume fix

Delete PCI Interrupt Link Device .resume method --
it is the device driver's job to request interrupts,
not the Link's job to remember what the devices want.

This addresses the issue of attempting to run
the ACPI interpreter too early in resume, when
interrupts are still disabled.

http://bugzilla.kernel.org/show_bug.cgi?id=3469

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] Suspend to RAM fix
David Shaohua Li [Fri, 18 Mar 2005 21:27:13 +0000 (16:27 -0500)] 
[ACPI] Suspend to RAM fix

Free some RAM before entering S3 so that upon
resume we can be sure early allocations will succeed.

http://bugzilla.kernel.org/show_bug.cgi?id=3469

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] ACPI poweroff fix
Alexey Starikovskiy [Fri, 18 Mar 2005 21:20:46 +0000 (16:20 -0500)] 
[ACPI] ACPI poweroff fix

Register an "acpi" system device to be notified of shutdown preparation.
This depends on CONFIG_PM

http://bugzilla.kernel.org/show_bug.cgi?id=4041

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] CONFIG_ACPI now depends on CONFIG_PM
Len Brown [Fri, 18 Mar 2005 21:00:29 +0000 (16:00 -0500)] 
[ACPI] CONFIG_ACPI now depends on CONFIG_PM

Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] Allow simultaneous Fixed Feature and Control Method buttons
Alexey Starikovskiy [Fri, 18 Mar 2005 20:35:22 +0000 (15:35 -0500)] 
[ACPI] Allow simultaneous Fixed Feature and Control Method buttons
delete /proc/acpi/button

http://bugzilla.kernel.org/show_bug.cgi?id=1920

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years ago[ACPI] update CONFIG_ACPI_CONTAINER Kconfig help
Keiichiro Tokunaga [Wed, 2 Mar 2005 05:00:00 +0000 (00:00 -0500)] 
[ACPI] update CONFIG_ACPI_CONTAINER Kconfig help

Signed-off-by: Keiichiro Tokunaga <tokunaga.keiich@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Mon, 11 Jul 2005 23:32:40 +0000 (16:32 -0700)] 
Merge /pub/scm/linux/kernel/git/davem/sparc-2.6

18 years ago[PATCH] I2C: Move hwmon drivers (3/3)
Jean Delvare [Sat, 2 Jul 2005 16:52:48 +0000 (18:52 +0200)] 
[PATCH] I2C: Move hwmon drivers (3/3)

Part 3: Move the drivers documentation, plus two general documentation
files.

Note that the patch "adds trailing whitespace", because it does move the
files as-is, and some files happen to have trailing whitespace.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: Move hwmon drivers (2/3)
Jean Delvare [Sat, 2 Jul 2005 16:20:26 +0000 (18:20 +0200)] 
[PATCH] I2C: Move hwmon drivers (2/3)

Part 2: Move the driver files themselves.

Note that the patch "adds trailing whitespace", because it does move the
files as-is, and some files happen to have trailing whitespace.

From: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[NETLINK]: Reserve NETLINK_NETFILTER.
David S. Miller [Mon, 11 Jul 2005 21:29:11 +0000 (14:29 -0700)] 
[NETLINK]: Reserve NETLINK_NETFILTER.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PATCH] I2C: Move hwmon drivers (1/3)
Jean Delvare [Sat, 2 Jul 2005 16:15:49 +0000 (18:15 +0200)] 
[PATCH] I2C: Move hwmon drivers (1/3)

Part 1: Configuration files and Makefiles.

From: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] w1: fix CRC calculation on bigendian platforms.
Evgeniy Polyakov [Thu, 30 Jun 2005 18:52:38 +0000 (22:52 +0400)] 
[PATCH] w1: fix CRC calculation on bigendian platforms.

In the 2.6.13-rc1 code the "rn" structure is in the wrong-endianness
when passed to w1_attach_slave_device(). This causes problems like the
family and crc being swapped around.

Signed-off-by: Roger Blofeld <blofeldus@yahoo.com>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: SENSORS_ATXP1 must select I2C_SENSOR
Adrian Bunk [Thu, 30 Jun 2005 22:17:27 +0000 (00:17 +0200)] 
[PATCH] I2C: SENSORS_ATXP1 must select I2C_SENSOR

On Thu, Jun 30, 2005 at 11:47:09PM +0200, Sebastian Pigulak wrote:
> I've tried patching linux-2.6.13-RC1 with patch-2.6.13-rc1-git2 and
> building atxp1(it allows Vcore voltage changing) into the kernel.
> Unfortunately, the kernel compilation stops with:
>
> LD      init/built-in.o
> LD      vmlinux
> drivers/built-in.o(.text+0x92298): In function `atxp1_detect':
> : undefined reference to `i2c_which_vrm'
> drivers/built-in.o(.text+0x921ae): In function `atxp1_attach_adapter':
> : undefined reference to `i2c_detect'
> make: *** [vmlinux] B??d 1
> ==> ERROR: Build Failed.  Aborting...
>
> Could someone have a look at the module and possibly fix it up?

SENSORS_ATXP1 must select I2C_SENSOR.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: Clarify the usage of i2c-dev.h
Jean Delvare [Sat, 25 Jun 2005 09:37:40 +0000 (11:37 +0200)] 
[PATCH] I2C: Clarify the usage of i2c-dev.h

Upon suggestion by Nils Roeder, here is an update to the i2c
documentation to clarify which header files user-space applications
relying on the i2c-dev interface should include.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: Documentation fix
Jan Veldeman [Fri, 1 Jul 2005 14:20:24 +0000 (16:20 +0200)] 
[PATCH] I2C: Documentation fix

Fix documentation to match code in include/linux/i2c-dev.h

Signed-off-by: Jan Veldeman <jan@mind.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: minor I2C doc cleanups
david-b@pacbell.net [Wed, 29 Jun 2005 14:14:06 +0000 (07:14 -0700)] 
[PATCH] I2C: minor I2C doc cleanups

The I2C stack has long had "id" fields, of rather dubious utility, in
many data structures.  This removes mention of one of them from the
documentation about how to write an I2C driver, so that only drivers
that really need to use them (probably old/legacy code) will have any
reason to use this field.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: drop bogus eeprom comment
Jean Delvare [Thu, 23 Jun 2005 21:43:00 +0000 (23:43 +0200)] 
[PATCH] I2C: drop bogus eeprom comment

This simple patch drops an out-of-date comment in the eeprom i2c chip
driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] i2c: make better use of IDR in i2c-core
Mark M. Hoffman [Tue, 28 Jun 2005 04:21:30 +0000 (00:21 -0400)] 
[PATCH] i2c: make better use of IDR in i2c-core

This patch uses the already existing IDR mechanism to simplify and
improve the i2c_get_adapter function in i2c-core.

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: m41t00: fix incorrect kfree
Jean Delvare [Fri, 1 Jul 2005 12:28:15 +0000 (14:28 +0200)] 
[PATCH] I2C: m41t00: fix incorrect kfree

Here is a simple path fixing an incorrect kfree in the m41t00 i2c chip
driver. The current code happens to work by accident, but the freed
pointer isn't the one which was allocated in the first place, which
could cause problems later.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: max6875 Kconfig update
Jean Delvare [Thu, 23 Jun 2005 21:41:39 +0000 (23:41 +0200)] 
[PATCH] I2C: max6875 Kconfig update

Here is a proposed Kconfig update for the new max6875 i2c chip driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: max6875 documentation update
Jean Delvare [Thu, 23 Jun 2005 21:37:53 +0000 (23:37 +0200)] 
[PATCH] I2C: max6875 documentation update

Here is a proposed documentation update for the new max6875 i2c chip
driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: New max6875 driver may corrupt EEPROMs
Jean Delvare [Fri, 24 Jun 2005 19:14:16 +0000 (21:14 +0200)] 
[PATCH] I2C: New max6875 driver may corrupt EEPROMs

After a careful code analysis on the new max6875 driver
(drivers/i2c/chips/max6875.c), I have come to the conclusion that this
driver may cause EEPROM corruptions if used on random systems.

The EEPROM part of the MAX6875 chip is accessed using rather uncommon
I2C sequences. What is seen by the MAX6875 as reads can be seen by a
standard EEPROM (24C02) as writes. If you check the detection method
used by the driver, you'll find that the first SMBus command it will
send on the bus is i2c_smbus_write_byte_data(client, 0x80, 0x40). For
the MAX6875 it makes an internal pointer point to a specific offset of
the EEPROM waiting for a subsequent read command, so it's not an actual
data write operation, but for a standard EEPROM, this instead means
writing value 0x40 to offset 0x80. Blame Philips and Intel for the
obscure protocol.

Since the MAX6875 and the standard, common 24C02 EEPROMs share two I2C
addresses (0x50 and 0x52), loading the max6875 driver on a system with
standard EEPROMs at either address will trigger a write on these
EEPROMs, which will lead to their corruption if they happen not to be
write protected. This kind of EEPROMs can be found on memory modules
(SPD), ethernet adapters (MAC address), laptops (proprietary data) and
displays (EDID/DDC). Most of these are hopefully write-protected, but
not all of them.

For this reason, I would recommend that the max6875 driver be
neutralized, in a way that nobody can corrupt his/her EEPROMs by just
loading the driver. This means either deleting the driver completely, or
not listing any default address for it. I'd like this to be done before
2.6.13-rc1 is released.

Additionally, the max6875 driver lacks the 24RF08 corruption preventer
present in the eeprom driver, which means that loading this driver in a
system with such a chip would corrupt it as well.

Here is a proposed quick patch addressing the issue, although I wouldn't
mind a complete removal if it makes everyone feel safer. I think Ben
has plans to replace this driver by a much simplified one anyway.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: Strip trailing whitespace from strings
Jean Delvare [Thu, 23 Jun 2005 20:18:08 +0000 (22:18 +0200)] 
[PATCH] I2C: Strip trailing whitespace from strings

Here is a simple patch originally from Denis Vlasenko, which strips a
useless trailing whitespace from 8 strings in 4 i2c drivers. Please
apply, thanks.

From: Denis Vlasenko <vda@ilport.com.ua>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: minor TPS6501x cleanups
david-b@pacbell.net [Wed, 29 Jun 2005 14:13:00 +0000 (07:13 -0700)] 
[PATCH] I2C: minor TPS6501x cleanups

This includes various small cleanups and fixes to the TPS 6501x driver that
came mostly from review feedback by Jean Delvare; thanks Jean!  Also some
goofy whitespace gets fixed.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] I2C: Coding style cleanups to via686a
Denis Vlasenko [Wed, 22 Jun 2005 07:25:13 +0000 (10:25 +0300)] 
[PATCH] I2C: Coding style cleanups to via686a

On Wednesday 22 June 2005 08:17, Greg KH wrote:
> [PATCH] I2C: Coding style cleanups to via686a
>
> The via686a hardware monitoring driver has infamous coding style at the
> moment. I'd like to clean up the mess before I start working on other
> changes to this driver. Is the following patch acceptable? No code
> change, only coding style (indentation, alignments, trailing white
> space, a few parentheses and a typo).
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Nice.

You missed some. This one is on top of your patch:

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6
Linus Torvalds [Mon, 11 Jul 2005 21:08:08 +0000 (14:08 -0700)] 
Merge /pub/scm/linux/kernel/git/aegl/linux-2.6

18 years ago[SPARC64]: Add missing asm-sparc64/seccomp.h file.
David S. Miller [Mon, 11 Jul 2005 20:44:56 +0000 (13:44 -0700)] 
[SPARC64]: Add missing asm-sparc64/seccomp.h file.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PATCH] ARM SMP: Initialise cpu_present_map
Russell King [Mon, 11 Jul 2005 18:42:58 +0000 (19:42 +0100)] 
[PATCH] ARM SMP: Initialise cpu_present_map

Rather than relying on the fixup code in init/main.c, explicitly
initialise cpu_present_map.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[PATCH] ARM SMP: We list IRQs for present CPUs, not online CPUs
Russell King [Mon, 11 Jul 2005 18:26:31 +0000 (19:26 +0100)] 
[PATCH] ARM SMP: We list IRQs for present CPUs, not online CPUs

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[IA64] assign_irq_vector() should not panic
Kenji Kaneshige [Mon, 11 Jul 2005 04:49:00 +0000 (21:49 -0700)] 
[IA64] assign_irq_vector() should not panic

Current assign_irq_vector() will panic if interrupt vectors is running
out. But I think how to handle the case of lack of interrupt vectors
should be handled by the caller of this function. For example, some
PCI devices can raise the interrupt signal via both MSI and I/O
APIC. So even if the driver for these device fails to allocate a
vector for MSI, the driver still has a chance to use I/O APIC based
interrupt. But currently there is no chance for these driver to use
I/O APIC based interrupt because kernel will panic when
assign_irq_vector() fails to allocate interrupt vector.

The following patch changes assign_irq_vector() for ia64 to return
-ENOSPC on error instead of panic (as i386 and x86_64 versions do).

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
18 years ago[IA64] use msleep_interruptible() instead of schedule_timeout
Nishanth Aravamudan [Sat, 9 Jul 2005 00:10:00 +0000 (17:10 -0700)] 
[IA64] use msleep_interruptible() instead of schedule_timeout

Description: Replace schedule_timeout() with msleep_interruptible() to
guarantee the task delays as expected.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Acked-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
18 years ago[PATCH] v850: Update mmu.h header to match implementation changes
Miles Bader [Mon, 11 Jul 2005 09:24:50 +0000 (18:24 +0900)] 
[PATCH] v850: Update mmu.h header to match implementation changes

Signed-off-by: Miles Bader <miles@gnu.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] v850: Update checksum.h to match changed function signatures
Miles Bader [Mon, 11 Jul 2005 09:24:50 +0000 (18:24 +0900)] 
[PATCH] v850: Update checksum.h to match changed function signatures

Signed-off-by: Miles Bader <miles@gnu.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>