This fixes filename case handling in vfat_revalidate():
before:
# mount -t vfat /dev/hda6 /mnt -o shortname=winnt
# cd /mnt
# cat File.Txt # make negative dentry
cat: File.Txt: No such file or directory
# touch file.txt # match negative dentry
# ls
File.Txt
after:
# mount -t vfat /dev/hda6 /mnt -o shortname=winnt
# cd /mnt
# cat File.Txt # make negative dentry
cat: File.Txt: No such file or directory
# touch file.txt # match negative dentry
# ls
file.txt
Jim Howard [Fri, 25 Jul 2003 09:02:34 +0000 (02:02 -0700)]
[PATCH] IDE driver VIA support (obscure bug)
This fixes a *very* obscure bug, which only applies to VIA chipsets that
support UDMA-133 mode, and which is only known to be tickled by one
UDMA-66 hard drive (Maxtor 91360U4) that happens to report 80-wire cable
detection opposite to the ATA standard.
The bug appears in a test to see how the BIOS set up UDMA timing. This
test is only reached when the drive says 80-wire *and* the chipset says
40-wire (which is only known to happen with this drive).
The timing bits that are checked represent clocks T minus 2, i.e., ((N -
2) * T). But Vojtech forgot to subtract 2, and applied N = 8 rather
than N = 6 in the test. Since the test masks the bits at 7, they are
always less than 8, and the test always succeeds, even though the BIOS
set UDMA-33.
Sam Ravnborg [Fri, 25 Jul 2003 09:00:12 +0000 (02:00 -0700)]
[PATCH] usr/: Updated .incbin support
Update support for .incbin in /usr. No longer generate .S files
from within the Makefile.
Also deleted the assignment to LDFLAGS_BLOB for most architectures.
I did not touch ARM and cris:
arm: Russell told me they did not have a new as that could be used
cris: Looked like it was used for more than just usr/
Sam Ravnborg [Fri, 25 Jul 2003 09:00:05 +0000 (02:00 -0700)]
[PATCH] fs/ Makefile cleanup
Simplify Makefiles in fs/ by utilising the new syntax for composite
objects. The new syntax allowed a couple of ifeq ($(CONFIG_FOO),y)
to be deleted, resulting in more readable Makefiles.
Roman Zippel [Fri, 25 Jul 2003 08:50:07 +0000 (01:50 -0700)]
[PATCH] Optional choice values get reset
Patch by Herbert Xu <herbert@gondor.apana.org.au>:
As of 2.5.74, make oldconfig always disables existing optional choices
even if they were selected previously. For example, if all the EICON
ISDN drivers were selected as modules, then make oldconfig will turn
them off.
Part of the problem is that the choice value itself is computed before
the SYMBOL_NEW flag is turned off. This patch addresses that particular
problem.
Krzysztof Halasa [Fri, 25 Jul 2003 08:24:04 +0000 (01:24 -0700)]
[PATCH] HDLC update
This updates generic HDLC from 1.14 to 1.15.
- fix a kernel panic caused by a recent change to unregister_netdevice()
(struct net_device * can't be kfreed before rtnl_unlock())
- adds carrier_* support - hw drivers report DCD status and higher level
protocols use that info, and do netif_carrier_{on,off}() according to
DCD and (Cisco and FR) link management status.
- moves Frame-Relay constants etc. from include/linux/hdlc.h to hdlc_fr.c.
They are internal FR things and are not needed in the global header.
- protocol hooks are slighty changed to allow zeroing (memset).
- removes CONFIG_HDLC_DEBUG_* variables. Users tend to make very wrong
use of them. Now setting them requires changing .c #define. Anyway they
are development-only things.
- misc style corrections etc.
Patrick McHardy [Fri, 25 Jul 2003 08:15:50 +0000 (01:15 -0700)]
[NETFILTER]: Fix various problems with MIRROR target.
- check TTL before rewriting so icmp_send gets clean packet
- skb_copy_expand(skb) for tcpdump and asymmetric routing
- inline some function
- remove unneccessary struct in_device declaration
- remove RTO_CONN
Forward-port of 2.4.21-ac4 patch by Wilfried Weissmann.
ide_get_or_set_dma_base() may be called via ide_setup_pci_device()
when a PCI controller module is loaded. However, it is defined with __init
and the function is called when its memory is already deallocated.
Ben Collins [Fri, 25 Jul 2003 07:40:53 +0000 (00:40 -0700)]
[PATCH] Update IEEE1394 (r1014)
misc: - Consolidate and make consistent, the NODE_BUS_{FMT,ARGS}
macros.
- Add HPSB_VERBOSE() macro to make VERBOSEDEBUG code a
little cleaner.
ieee1394 : - Replace panic() with BUG and return value in dma routine.
- Reset reset_retries on success or loop recover.
- Add RECV_FLUSH to flush buffers on > 1 irq interval or in
buffer-fill mode.
- Probe logic-unit-subdirectories as children of the
unit-dir.
- Fix compile warning in nodemgr thread.
- Replace tightly scheduled timeout loop with a 50ms timer.
- Better return and usage of BUG_ON() in dma handler.
- Calculate timeout expiry interval at change instead of at
every timeout check.
SBP2 : - Fix logical-unit-directory LUN's.
- Remove procfs interface.
- Fix usage of initdata after init.
Host con : - Change irq output to use __irq_itoa() for sparc.
- Do more to notify bus when module is unloaded, to clear
IRM, etc.
ohci1394 : Fix endianess of async stream packet headers.
A recent change moved the tcq init too early in the init sequence, the
queue isn't initialized at this point which causes the task file
executions to kill elevator with a NULL EIP (->add_req_fn()). This
patch fixes it, acked by Bart.
David S. Miller [Fri, 25 Jul 2003 01:41:42 +0000 (18:41 -0700)]
[SPARC64]: Sanitize PCI controller handling to support Tomatillo better.
- Move varions controller datums into pbm structure.
- Add controller type/version/revision info to pbm structure.
- SCHIZO/TOMATILLO fixes:
- Treat PBM etc. register bases as PBM local.
- Use PBM prom node ranges property to figure out where
CFG/MEM/IO space physical bases are.
Bob Miller [Mon, 21 Jul 2003 11:10:54 +0000 (07:10 -0400)]
ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init function.
The module load code adds a reference to the owner field before calling
the modules init function so it isn't necessary for the init function
to do a similar action.