- 07 Jan, 2003 9 commits
-
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.5
-
bk://ldm.bkbits.net/linux-2.5-coreLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
bk://linux.bkbits.net/linux-2.5Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
-
Patrick Mochel authored
-
bk://are.twiddle.net/axp-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andi Kleen authored
Make x86-64 compile again after recent extable changes.
-
Ray Lee authored
Micheal Meeks notes: "Evolution is non-functioning on recent 2.5.X kernels, due to mal-performance in getpeername => net/unix/af_unix.c (unix_getname), where it seems we switch 'sk' on 'peer', but not the (previously) typecast pointer to it; this fixes it." Whitespace fixes by Ray Lee.
-
Linus Torvalds authored
and stop honoring the SA_RESTORER information. This will prepare us for alternate signal handler returns.
-
- 06 Jan, 2003 31 commits
-
-
James Morris authored
- Ensure ports are detected in the right order (also fixes crash in interrupt handler). - Make use of uart api port fields: port, line, irq, fifosize, mapbase. - Remove some variable fifo size logic, driver always uses 32 byte fifos. - Unmask XPR interrupt in transmit_chars() (per 2.4). - Unmask XPR interrupt early in sunsab_start_tx(), as the user may have been put to sleep by the uart api with XPR masked, and will otherwise not be able to unmask XPR again. - Do not enable RFDF, as the code is no longer checking for or even handling rx status bytes. - Make sunsab_type() return more useful info. - Increment instance_p in sab_attach_callback(). - Remove self-reporting, as the uart api now reports the ports. - Handle sunserial_current_minor increment/decrement properly.
-
Laszlo Valko authored
-
Patrick Mochel authored
Simply, pass off to kset_find_obj() to iterate over list of buses and search for bus with certain name.
-
Patrick Mochel authored
The operation is simple: - Take read lock for kset. - Iterate over kset->list. - Compare name to each kobject's name. - Return kobject if found.
-
Patrick Mochel authored
This creates and exports device_bind_driver() and device_release_driver() that allow a caller to manually bind a device to a driver. Apparantly, some drivers use this functionality (like USB): a driver binds to other device interfaces during the driver's probe() method call for the first interface. Implementation is easy enough, since it simply involves renaming and exporting the internal functions attach() and detach().
-
Patrick Mochel authored
In drivers/base/bus.c, get_bus() was called without put_bus() in these functions: - bus_for_each_dev() - bus_for_each_drv()
-
Richard Henderson authored
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-kobject
-
Patrick Mochel authored
- declare net_subsys, and register during net_dev_init(). - Add kobject to struct net_device. - initialize name and register in register_netdevice(). - remove in unregister_netdevice(). This allows one to see the registered network devices in the system via: # tree /sys/net/ /sys/net/ `-- eth0
-
Bjorn Helgaas authored
Here are the i810 and i830 fixes. I don't have either of these, so I can't test them, but they're pretty straightforward.
-
Bjorn Helgaas authored
I don't have a 440GX to test here, but I think the patch below is likely to fix the problem. I see some other issues in intel-agp.c. I'll send those separately since the diff is a little larger and should affect only i810 and i830.
-
Patrick Mochel authored
Since block_subsys already contains a list and a lock, use those, instead of defining our own static ones. This allows struct gendisk::full_list to be removed. struct gendisk::list is also apparently unused, so it is removed also.
-
Patrick Mochel authored
This was never used, and a bad idea to begin with.
-
Patrick Mochel authored
-
Patrick Mochel authored
-
Patrick Mochel authored
The kobject core no longer references a subsystem directly through a kobject, instead using the kobject's dominant kset to reference the subsystem. The registrants of kobjects have been fixed up. To aid in this process, a few helpers were introdcuced: - kobj_set_kset_s(obj,subsys) - kset_set_kset_s(obj,subsys) - subsys_set_kset(obj,subsys) that set the kset ptr of embedded kobjects for objects that have different embedded types. See include/linux/kobject.h for more description and usage. struct subsystem::kobj is also removed, relying solely on a subsystem's embedded kset for hierarchy information. Since this requires modification of the subsystem declarations, a helper macro has been defined: decl_subsys(name,type) which initializes the name and ktype fields of the subsystem's embedded kset. All the subsystem declarations have been fixed up.
-
bk://linux.bkbits.net/linux-2.5Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
-
bk://are.twiddle.net/axp-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Richard Henderson authored
-
Rusty Russell authored
Various archs (i386, m68k, s390, s390x, m68k, parisc, um, x86_64) implement kernel_text_address. Put this in kernel/extable.c, and the module iteration inside module.c. Other than cleanliness, this finally allows the module list and lock to be static to kernel/module.c (you didn't think I actually cared about those archs did you?) It also drops the module->init_size to zero when it's discarded, so bounds checking is simplified (and the /proc/modules size statistic will be more accurate, too).
-
Rusty Russell authored
The declaration of `module_frob_arch_sections' in moduleloader.h (and the definitions in most of the module.c files) are inconsistent with the definition in the PPC's module.c -- in the latter the first two arguments are not declared `const', whereas everyplace else they are. PS. secstrings can be modded to: if an arch can't handle discarding init, it simply renames the .init sections.
-
Richard Henderson authored
Oops in fb_set_cmap caused by palette_cmap.transp uninitialized. By inspection, fb_blank appears to have the same problem.
-
bk://linux-dj.bkbits.net/agpgartLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Bjorn Helgaas authored
This removes the agpgart assumption that memory is contiguous.
-
Bjorn Helgaas authored
[Forward port of a 2.4 patch that got applied last month -- DJ] AGP/DRM currently assume that GATT entries can be converted to physical addresses with a simple mask. Additionally, agpgart assumes in a couple places that the mask is ~0xfff, i.e., that all the GART control bits are in the low 12 bits. Both assumptions are bogus, so: Make agp_memory.memory[] (exported from agpgart to DRM) contain physical addresses, not GATT entries. DRM assumes agp_memory contains GATT entries, and it converts them to physical addresses with "paddr = agp_memory.memory[i] & mask". 460GX requires both a shift and a mask, so exporting plain physical addresses and a mask of ~0UL allows agpgart to add 460GX support without requiring DRM interface changes.
-
Dave Jones authored
-
Dominik Brodowski authored
- global loops_per_jiffy, x86 cpu_khz and x86 fast_gettimeoffset_quotient can only be safely adjusted on UP - x86 per-CPU loops_per_jiffy does not depend on TSC - save reference values so that rounding errors do not accumulate
-
Dominik Brodowski authored
Clean up searching code for best frequency multiplier, and add a safety check. Also, SAFE_FREQ wasn't used.
-
Dominik Brodowski authored
The "get current speed" algorithm wasn't aware of the disable/enable bit, and the policy verification function wasn't aware of the N44 / O17 bug. Also, some unused code is removed.
-
Adrian Bunk authored
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-