- rename at_addr to atalk_addr, netrange to atalk_netrange
- use kerneldoc style comments for some structs and functions
- move the IP over DDP handling code out of atalk_rcv into handle_ip_over_ddp,
that is optimized out when this feature was not selected by the user
- move the routing handling code out of atalk_rcv into atalk_route_packets
- create ddp_hdr and aarp_hdr inline functions to access those protocol headers
on the skb
- lots of CodingStyle cleanups
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.
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.
[PATCH] explicit signed char cast in i386 spin_is_locked
To make spinlock debugging work with -funsigned-char the i386 version
of spin_is_locked() needs to cast to signed char explicitly instead of
just char. XFS needed -funsigned-char (and currently still has it),
but it doesn't evert hurt.
Tom Rini [Thu, 1 Aug 2002 05:22:42 +0000 (22:22 -0700)]
[PATCH] Export synchronize_irq on CONFIG_SMP=y
Currently, all arches which support SMP define synchronize_irq(irq)
to be a real function (generally defined in arch/$(ARCH)/kernel/irq.c).
This export was removed inadvertanly I believe in the "bit IRQ lock"
removal and IRQ cleanups ChangeSet.
William Stinson [Thu, 1 Aug 2002 05:22:12 +0000 (22:22 -0700)]
[PATCH] region changes for rocket
this is a small patch for Rocketport device driver for Linux to
1) remove two calls to check_region using request_region instead
2) release allocated region resource in case of error.
I don't have this hardware so compilation checked only.
This patch does not remove all references to check_region in this driver
(one reference still left unchanged).
Greg Banks [Thu, 1 Aug 2002 05:21:58 +0000 (22:21 -0700)]
[PATCH] PATCH 2.5: kconfig EXPERIMENTAL variant form
The convention is that symbols that depend on $CONFIG_EXPERIMENTAL are
marked in the banner with the string (EXPERIMENTAL). There are some
cases where that string is correctly used but is Capitalised instead of
uppercase.
Greg Banks [Thu, 1 Aug 2002 05:21:47 +0000 (22:21 -0700)]
[PATCH] PATCH: kconfig choice defaults 2 (3_3)
The default value specified as the last word of the "choice" statement
should be a unique abbreviation of one of the sub-prompts. Using one
of the sub-symbols is not legal. Fix 'Type of PHY'.
[Rusty: this is 3/3 partial resends of 'PATCH: kconfig choice defaults (1/2)']
Patrick Mochel [Thu, 1 Aug 2002 05:07:33 +0000 (22:07 -0700)]
driverfs: define struct driverfs_ops and remove struct device dependencies
In order to read/write attributes, you have to deal directly with the object that owns them. driverfs really
wants to be generic and not deal directly with those objects. So, we create an intermediate layer that
subsystems must implement that converts between the generic objects and the specific objects that own the
attributes.
This allows allows attributes to be exported for any object type.
In doing so, it places the responsibility on the subsystems to do the following:
- define their own object-specific attribute structures
- define their own driverfs_ops
- set the ops pointer in struct driver_dir_entry when creating an object's directory
- do object reference counting on open() and close()
- call the show() and store() callbacks of their attribute structure
- convert between the generic objects and the specific objects from the struct driver_dir_entry and
struct attribute pointers (using container_of)
The implementation of this layer for struct device is intended to be used as an example of the interface.
Because this layer of abstraction is now in place, we can move the device attribute structure into
include/linux/device.h, and driverfs should be free of references to it completely.