PPC32: interrupt fixes along the lines of Ingo's changes to x86.
We don't unmask the interrupt at the end of handling it if there
is no action (i.e. someone has done free_irq). Add some likely
and unlikely hints and fix synchronize_irq.
Russell King [Sat, 3 Aug 2002 11:28:39 +0000 (04:28 -0700)]
[PATCH] 1: 2.5.29-dma
The following patch adds support for CONFIG_GENERIC_ISA_DMA, which went
into the 2.4-ac kernel series prior to 2.5 happening.
The following patch allows architectures to decide whether they want
the generic ISA DMA functionality provided by kernel/dma.c and other
supporting files.
In addition, we move the procfs "/proc/dma" support code out of fs/proc
into kernel/dma.c, and adapt it to use the new seq_file code.
Russell King [Sat, 3 Aug 2002 11:28:22 +0000 (04:28 -0700)]
[PATCH] 7: 2.5.29-mmap
The following patch is required so that munmap(0x8000, *) does not cause
ARM kernels to crash. The problem is that the machine vectors are at
virtual address 0. Unfortunately, when free_pgtables() is called, it
clears first level page tables starting at 0 in this case, and takes
out the machine vectors. This then results in an unrecoverable hang.
We already have FIRST_USER_PGD_NR to define the first entry in the pgd
which may be cleared, so we use this to clamp "start_index"
appropriately. The following patch does this. Tested on ARM.
Jeff Dike [Sat, 3 Aug 2002 11:22:43 +0000 (04:22 -0700)]
[PATCH] UML preparation - linkage.h
This a preparatory patch which allows UML to avoid changing linux/linkage.h.
It restructures linkage.h so that all of the arch-specific stuff is in
asm-*/linkage.h. linux/linkage.h is now arch independent. It should be
functionally unchanged.
Five arches, i386, ia64, sh, m68k, and arm, have non-empty linkage.h files.
The other arch linkage.h files are all empty.
Also, __ALIGN_STR is no longer defined independently of __ALIGN. It is now
derived by stringizing __ALIGN.
Following a suggestion by Keith Owens, stringify.h was generalized to allow
commas in its argument, linkage.h now includes it, and no longer defines its
own stringify macros.
Russell King [Sat, 3 Aug 2002 15:53:07 +0000 (16:53 +0100)]
[TRIVIAL] acorn & arm designated initializer rework
From Rusty.
The old form of designated initializers are obsolete: we need to
replace them with the ISO C forms before 2.6. Gcc has always supported
both forms anyway.
Russell King [Sat, 3 Aug 2002 12:13:07 +0000 (13:13 +0100)]
[TRIVIAL] designated initialize patches for fs_adfs
From: (via Rusty) Art Haas <ahaas@neosoft.com>
Here are patches for files in fs/adfs. Patches are against 2.5.26.
(rmk - updated for 2.5.30, cleaned up spacing to be more reasonable)
Scott Feldman [Sat, 3 Aug 2002 05:57:54 +0000 (01:57 -0400)]
Update e1000 gige net driver:
Feedback from review by Arjan @ Redhat:
o Cleanup: Removed unneccesary #ifdef/#endif wrappers for features
already part of kernel.
o Bug fix: Use kernel funcs pci_[clear|set]_mwi rather than using direct
calls to pci_write_config_word.
o Bug fix: Added read-behind-write calls to post writes before delays.
o Bug fix: removed calls to mdelay in interrupt context.
o Clean up: removed calls to memset followed by mb() and replaced with
direct clearing of descriptor bits.
Scott Feldman [Sat, 3 Aug 2002 05:56:15 +0000 (01:56 -0400)]
Update e1000 gige net driver:
o Bug fix: fixed jumbo frames sized from 1514 to 2048.
o ASF support: disable ARP when driver is loaded or resumed; enable when
driver is removed or suspended.
o Bug fix: changed default setting for RxIntDelay to 0 for 82542/3/4
controllers to workaround h/w errata where controller will hang when
RxIntDelay <> 0 under certian network conditions.
o Bug fix: perform controller reset using I/O rather than mmio because
some chipsets try to perform a 64-bit write, but the controller ignores
the upper 32-bit write once the reset is intiated by the lower 32-bit
write, causing a master abort.
o Clean up: removed unused and undocumented user-settable settings for
PHY.
o Bug fix: ethtool GEEPROM was using byte address rather than word
addressing.
o Feature: added support for ethtool SEEPROM.
o Feature: added support for entropy pool.
Scott Feldman [Sat, 3 Aug 2002 05:38:07 +0000 (01:38 -0400)]
Update e100 net driver:
Feedback from review by Arjan @ Redhat:
o Cleanup: Removed unneccesary #ifdef/#endif wrappers for features
already part of kernel.
o Bug fix: Added read-behind-write calls to post writes before delays.
o Cleanup: added "e100" prefix to all driver messages.
o Cleanup: removed unnecessary barrier() call because spin_unlock
already implies a barrier.
o Cleanup: removed __NO_VERSION__
o Cleanup: fixed some spelling mistakes.
o Cleanup: removed some proprietary /proc entries.
Scott Feldman [Sat, 3 Aug 2002 05:37:05 +0000 (01:37 -0400)]
Update e100 net driver:
o Added device ID support for Dell LOM.
o Added device ID support for 82511QM mobile nics.
o Bug fix: ethtool get/set EEPROM routines modified to use byte
addressing rather than word addressing.
o Feature: added MDIX mode support for 82550 and up.
o Bug fix: added reboot notifier to setup WOL settings when
shutting system down.
o Cleanup: removed yield() redefinition (Andrew Morton,
akpm@zip.com.au).
o Bug fix: flow control now working when link partner is
autoneg capable but not flow control capable.
o Bug fix: added check for corrupted EEPROM
o Bug fix: don't report checksum offloading for the older
controllers that don't support the feature.
o Bug fix: calculate cable diagnostics when link goes down
rather than when queuering /proc file.
o Cleanup: move mdi_access_lock to local get/set mdi routines.
Jamey Hicks [Sat, 3 Aug 2002 00:50:55 +0000 (01:50 +0100)]
[ARM PATCH] 1221/1: add irq definitions for H3800, which has interrupt controller in asic
This adds the definitions for the IRQs coming from the H3800 asic.
Paul Mackerras [Fri, 2 Aug 2002 07:41:57 +0000 (17:41 +1000)]
PPC32: update the SMP startup code.
This takes out the old boot code that Rusty had left #if 0'd,
make sure interrupts get enabled on the secondary processors
and fixes the timebase sync algorithm for CHRP machines.
Patrick Mochel [Fri, 2 Aug 2002 05:18:12 +0000 (22:18 -0700)]
driverfs: Add ability to create and remove files for bus drivers
These behave identically to device attribute files, but with different types.
We get struct bus_attribute, and a macro, BUS_ATTR for declaring attributes. It takes the same parameters
as DEVICE_ATTR, though the callbacks for bus attributes take a struct bus_type as the first parameter.
Alexander Viro [Thu, 1 Aug 2002 06:33:24 +0000 (23:33 -0700)]
[PATCH] split "gendisk" to be per-disk, part 2
we are starting to split gendisks - now we can do that. Done for
ide, sd, pd, hd and mfm
It's in transit - what we are aiming at is getting ->nr_real to 1 for
all gendisks. Once that will be done we will be able to simplify a lot
stuff and remove ad-hackery. First thing that will happen after that
is death of ->nr_real, obviouslye. Then we
(a) will merge ->major and ->first_minor into ->dev
(b) strip one level of indirection from ->driverfs_dev_arr, ->de_arr
and ->flags - they turn into single-element arrays and we will simply pull
the (only) element into struct gendisk. Kills a lot of ad-hackery in splitup
code (fewer things to allocate).
(c) replace ->major_name with ->disk_name; kills most of the crap in
disk_name(9) - it only has to care about adding partition number to the name.
Alexander Viro [Thu, 1 Aug 2002 06:31:15 +0000 (23:31 -0700)]
[PATCH] split "gendisk" to be per-disk, part 1
now that gendisks don't have shared stuff (we used to set blk_size[]
from ->sizes) we can start splitting them into per-disk ones.
Step 1:
we introduce a new field - ->first_minor (to be merged with ->major
into dev_t of entire disk once all gendisks are split). All arrays
are assumed to start at that minor (i.e. gd->part[minor] got replaced
with gd->part[minor - gd->first_minor], etc.). get_gendisk() is
taught to pick the right gendisk if there are several with the same
major.
Ingo Molnar [Thu, 1 Aug 2002 05:50:00 +0000 (22:50 -0700)]
[PATCH] sanitize TLS API
This removes the TLS clear operation. I've left the flags mask and the
writable flag just so that we have the option to introduce extensions
without breaking the ABI.
William Stinson [Thu, 1 Aug 2002 05:25:55 +0000 (22:25 -0700)]
[PATCH] small region change for boardergo.c
this is a small patch for boardergo.c linux driver for isdn HYSDN cards to
1) remove call to check_region using request_region instead
2) check the status of call to request_region
3) release allocated region resource in case of error.
I don't have this hardware so compilation checked only.
[PATCH] 2.5 Trivial patch - 1400x1050 video mode added twice in 2.5.28
I am not sure if you are the actual maintainer for this, but your name
adorns the source :
2.5.28 introduced video mode 1400x1050 twice into drivers/video/modedb.c
Both instances use indentical timings, so I guess it's a mistake.
William Stinson [Thu, 1 Aug 2002 05:24:03 +0000 (22:24 -0700)]
[PATCH] small region change for baycom_ser_hdx.c
this is a small patch for baycom_ser_hdx.c -- baycom ser12 halfduplex radio modem driver to
1) remove call to check_region using request_region instead
2) check the status of call to request_region
3) release allocated region resource in case of error.
I don't have this hardware so compilation checked only.