- 16 Jun, 2003 13 commits
-
-
Greg Kroah-Hartman authored
-
David T. Hollis authored
-
Matthew Dharm authored
This patch (a) removes dead code, (b) renames some static functions with names that are more apropriate for static functions, and (c) implements a slave_configure() function. With the patch I just sent to Linus (et al.) to fix the SCSI core to allow slave_configure() to tweak (meaningfully) the two variables I need to set, we'll be able to remove US_FL_MODE_XLATE. (Well, actually, we also need to fix sr.c to respect the use_10_for_ms flag, but that should be easy once the rest is done.)
-
Matthew Dharm authored
This patch implements US_PR_DEVICE and US_SC_DEVICE, which have the meaning 'use the device's value -- no override'. This should make maintance easier, and also allow for those few devices that change their descriptors depending on what they are connected to. This will also print a message to help us identify entries that can be pruned. Finally, it removes a couple of dead flags.
-
Matthew Dharm authored
Some minor cleanups. First, some locking in the bus-reset. Next, we move current_sg into struct us_data (why make more memory allocation issues for ourselves?). Next, we change sm_state into a normal variable, since it shouldn't require atomic_t anytmore. Finally, we remove some references to a couple of flags that don't do anything anymore. # Fix device locking during the bus-reset routine. # # Embed current_sg in struct us_data. # # Make us->sm_state a regular int instead of an atomic_t. # # Remove a couple of references to the START_STOP and IGNORE_SER # flag bits.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
Duncan Sands authored
-
Stefan Becker authored
-
Randy Dunlap authored
Some printers report errors (like out of paper or offline) without setting the main "I have an error" bit. I see this on my home printer and someone else has confirmed it for me, suggesting that we check the printer error status bits independently, ordering them as we see fit, so here's a patch that does that.
-
David Brownell authored
This resolves a problem that appears when relinking a bulk or control QH that has a partially completed multi-packet qTD. Some I/O could be repeated. Such cases can happen when an empty QH starts to unlink, but gets re-activated (by queueing the multi-packet qTD) before the HC saw the unlink. It's rarely an issue with control traffic (transfers are so small) or when bulk queues are active (the QH won't empty).
-
Andi Kleen authored
Lots of small fixes and I merged the PCI subsystem with i386 again because it was mostly identical. This makes the patch quite big, but it only removes files. - Merge PCI subsystem with i386. This changes the initialization order of PCI and IOMMU slightly. It didn't see any problems yet, but it could cause some in theory. It re-adds some code that used to be removed, but it's only small stuff and it should hopefully cause less mainteance overhead longer term. - Fix warnings - Merge cpuid.c with i386.c - Sync msr.c with i386 - Consolidate externs in asm/proto.h - sysfs/sysdev fixes for apic/nmi (Bryan O'Sullivan) - Fix /proc/kcore access - Add real kern_addr_valid (used for above). - Support consistent dma_mask in IOMMU - Fix double print of AMD for CPU model. - Remove unused wakeup.S file. - Remove obsolete CONFIG_SIMNOW ifdef. - Support ptrace access for 32bit vsyscalls. - Fix warnings in 32bit boot code compilation.
-
Andi Kleen authored
Handle both unsigned int and unsigned long in rtc_read. This helps when running 32bit userland under an 64bit kernel.
-
- 15 Jun, 2003 27 commits
-
-
Alexey Kuznetsov authored
1) More reasonable ip_rt_gc_min_interval default 2) Trim less valuable entries in hash chain during rt_intern_hash when such chains grow too long.
-
Ville Nuorvala authored
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Rusty Russell authored
1) We export __check_region, so making it __deprecated gives a spurious warning in kernel/ksyms.c. 2) Other warnings refer to __check_region rather than check_region, which has confused some people. Make check_region an inline, not a macro, and deprecate *that*.
-
Greg Ungerer authored
A number of small ColdFire serial driver fixups: - use correct irq handler return type (irqreturn_t) - add support for mark and space parity - some casting to keep types clean (and remove compile warnings) - fix missing ";" after local tty_driver struct definition
-
Greg Ungerer authored
We no longer use sub-architecture speicific interrupt setups in the m68knommu branch. Remove obsolete call to 68328 irq init.
-
Greg Ungerer authored
Make the ROMfs copy in the startup code for Motorola/M5206eLITE board conditional on actually using a ROMfs setup.
-
Greg Ungerer authored
Minor board name change in m68knommu setup, "Dragon Engine" -> "DragonEngine".
-
Andi Kleen authored
The NCP ioctls are declared unconditionally in compat_ioctl now, which needs this include to still compile on x86-64.
-
Andi Kleen authored
The us->ns conversion must be in the "tv" if branch of settimeofday, not in the "tz" if. Also make it compile for x86-64 again. The 32bit emulation was forgotten in the conversion.
-
Matthew Dharm authored
This moves the initialization of the struct scsi_device fields use_10_for_ms and use_10_for_rw into a central place. This allows the host's slave_configure() function to change them (with effect). This also collapses two identical sections of code into a single one. This is needed by usb-storage, so we can resolve some Babble problems, some device-crashing problems, and remove a great deal of troublesome mode-sense-translation code.
-
Matthew Wilcox authored
This update covers a lot of changes to arch/parisc and parisc-specific drivers. - irq_return_t changes - more work on the module loader (James Bottomley) - rewrite of led.c by Helge Deller - many miscellaneous updates
-
Samuel Thibault authored
At least gcc 3.3 complains about this incorrect token pasting thing in the ASSERT macro of drivers/net/irda/ma600.c
-
bk://bk.arm.linux.org.uk/linux-2.5-pcmciaLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Russell King authored
Although no such oops has been reported, removing a socket driver while a file under /sysfs/class/pcmcia_socket/pcmcia_socket* is held open by user space could potentially cause an oops. Plug this by preventing pcmcia_unregister_socket from returning until all references by sysfs to the pcmcia socket have been dropped.
-
Russell King authored
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-pcmcia
-
Daniel Ritz authored
Patch from Daniel Ritz rmmod yenta produces the following oops: Unable to handle kernel paging request at virtual address d084781e EIP is at yenta_config_init+0x18f/0x1e0 [yenta] Process pccardd (pid: 2618, threadinfo=c3236000 task=c988ae60)
-
Russell King authored
Update sa11xx_core.c for Dominik's previous patch.
-
Dominik Brodowski authored
Remove the inquire_socket callback by moving the (static) capability information to the top-level of struct pcmcia_socket.
-
Dominik Brodowski authored
Move the creation of /proc/pccard to ds.c so that ds.c is the only file that needs to include linux/proc_fs.h any longer.
-
Dominik Brodowski authored
Remove the proc_setup callback. The drivers can use CLASS_DEVICE_ATTR instead. Example: i82365.c.
-
Roman Zippel authored
Declare the parameter array as an array, rather than a single entry. This doesn't matter for code generation, but may be less likely to cause problems down the line, since we're telling gcc more about the real situation.
-
Andi Kleen authored
Thanks to Jan Hubicka who suggested this fix. The problem seems to be that gcc generates a 32byte alignment for static objects > 32bytes. This causes gas to set a high alignment on the section, which causes the uneven (not multiple of sizeof(struct kernel_param)) section size. The pointer division with a base not being a multiple of sizeof(*ptr) then causes the invalid result. This just forces a small alignment, which makes the section end come out with the correct alignment. The only mystery left is why ld chose a 16 byte padding instead of 32byte.
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Christoph Hellwig authored
-
Paul Mundt authored
This adds the missing arch/sh/tools directory, which includes mach-type generation scripts for building include/asm-sh/machtypes.h.
-
Paul Mundt authored
drivers/hotplug/Kconfig moved to drivers/pci/hotplug/Kconfig. This updates arch/sh/Kconfig respectively.
-