Skip to content

Commit

Permalink
v2.4.9.1 -> v2.4.9.2
Browse files Browse the repository at this point in the history
  - Al Viro: block device cleanups
  - Marcelo Tosatti: make bounce buffer allocations more robust (it's ok
  for them to do IO, just not cause recursive bounce IO. So allow them)
  - Anton Altaparmakov: NTFS update (1.1.17)
  - Paul Mackerras: PPC update (big re-org)
  - Petko Manolov: USB pegasus driver fixes
  - David Miller: networking and sparc updates
  - Trond Myklebust: Export atomic_dec_and_lock
  - OGAWA Hirofumi: find and fix umsdos "filldir" users that were broken
  by the 64-bit-cleanups. Fix msdos warnings.
  - Al Viro: superblock handling cleanups and race fixes
  - Johannes Erdfelt++: USB updates
  • Loading branch information
linus1 committed Feb 5, 2002
1 parent 41f633a commit dccd385
Show file tree
Hide file tree
Showing 245 changed files with 10,691 additions and 8,280 deletions.
98 changes: 86 additions & 12 deletions Documentation/Configure.help
Original file line number Diff line number Diff line change
Expand Up @@ -11673,6 +11673,23 @@ CONFIG_USB_DABUSB
The module will be called dabusb.o. If you want to compile it as a
module, say M here and read Documentation/modules.txt.

Host-to-Host USB networking
CONFIG_USB_USBNET
This driver supports network links over USB with USB "Network"
or "data transfer" cables, often used to network laptops to PCs.
Such cables have chips from suppliers such as NetChip and Prolific.
Intelligent USB devices could also use this approach to provide
Internet access, using standard USB cabling.

These links will have names like "usb0", "usb1", etc. They act
like two-node Ethernets, so you can use 802.1d Ethernet Bridging
(CONFIG_BRIDGE) to simplify your network routing.

This code is also available as a kernel module (code which can be
inserted in and removed from the running kernel whenever you want).
The module will be called usbnet.o. If you want to compile it as a
module, say M here and read <file:Documentation/modules.txt>.

PLUSB driver
CONFIG_USB_PLUSB
A driver for the Prolific PL-2302 USB-to-USB network device. This
Expand Down Expand Up @@ -17060,11 +17077,75 @@ Machine Type
CONFIG_ALL_PPC
Linux currently supports several different kinds of PowerPC-based
machines: Apple Power Macintoshes and clones (such as the Motorola
Starmax series), PReP (PowerPC Reference Platform) machines such as
the Motorola PowerStack, CHRP (Common Hardware Reference Platform),
the embedded MBX boards from Motorola and many others. Currently,
the default option is to build a kernel which works on the first
three. Support for other machines is currently incomplete.
Starmax series), PReP (PowerPC Reference Platform) machines (such
as the Motorola PowerStacks, Motorola cPCI/VME embedded systems,
and some IBM RS/6000 systems), CHRP (Common Hardware Reference
Platform), and several embedded PowerPC systems containing 4xx, 6xx,
7xx, 8xx, 74xx, and 82xx processors. Currently, the default option
is to build a kernel which works on the first three.

AltiVec Kernel Support
CONFIG_ALTIVEC
This option enables kernel support for the Altivec extensions to the
PowerPC processor. The kernel currently supports saving and restoring
altivec registers, and turning on the 'altivec enable' bit so user
processes can execute altivec instructions.

This option is only usefully if you have a processor that supports
altivec (G4, otherwise known as 74xx series), but does not have
any affect on a non-altivec cpu (it does, however add code to the
kernel).

If in doubt, say Y here.

Thermal Management Support
CONFIG_TAU
G3 and G4 processors have an on-chip temperature sensor called the
'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
temperature within 2-4 degrees celcius. This option shows the current
on-die temperature in /proc/cpuinfo if the cpu supports it.

Unfortunately, on some chip revisions, this sensor is very inaccurate
and in some cases, does not work at all, so don't assume the cpu
temp is actually what /proc/cpuinfo says it is.

Interrupt driven TAU driver
CONFIG_TAU_INT
The TAU supports an interrupt driven mode which causes an interrupt
whenever the temperature goes out of range. This is the fastest way
to get notified the temp has exceeded a range. With this option off,
a timer is used to re-check the temperature periodically.

However, on some cpus it appears that the TAU interrupt hardware
is buggy and can cause a situation which would lead unexplained hard
lockups.

Unless you are extending the TAU driver, or enjoy kernel/hardware
debugging, leave this option off.

Average high and low temp
CONFIG_TAU_AVERAGE
The TAU hardware can compare the temperature to an upper and lower bound.
The default behavior is to show both the upper and lower bound in
/proc/cpuinfo. If the range is large, the temperature is either changing
a lot, or the TAU hardware is broken (likely on some G4's). If the range
is small (around 4 degrees), the temperature is relatively stable.

Support for CUDA based PowerMacs
CONFIG_ADB_CUDA
This provides support for CUDA based Power Macintosh systems. This
includes most OldWorld PowerMacs, the first generation iMacs, the
Blue&White G3 and the Yikes G4 (PCI Graphics). All later models
should use CONFIG_ADB_PMU instead.

If unsure say Y.

Support for PMU based PowerMacs
CONFIG_ADB_PMU
This provides support for PMU based Power Macintosh systems. This
includes all PowerBooks and all AGP-based machines.

If unsure say Y.

Power management support for PowerBooks
CONFIG_PMAC_PBOOK
Expand All @@ -17082,13 +17163,6 @@ CONFIG_PMAC_PBOOK
have it autoloaded. The act of removing the module shuts down the
sound hardware for more power savings.

Mac-on-Linux support
CONFIG_MOL
This option enables low-level support for Mac-on-Linux.
MOL lets you run MacOS and Linux simultaneously. Please
visit <http://www.maconlinux.org> for more information.
If unsure, say Y.

ADB raw keycode support
CONFIG_MAC_ADBKEYCODES
This provides support for sending raw ADB keycodes to console
Expand Down
56 changes: 52 additions & 4 deletions Documentation/filesystems/ntfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,73 @@ show_sys_files=<bool> If enabled, show all system files as normal files. Note
Be careful not to write anything to them or you could
crash the kernel and/or corrupt your file system!

mft_zone_multiplier= Set the MFT zone multiplier for the volume (this
setting is not persistent across mounts and can be
changed from mount to mount but cannot be changed on
remount). Values of 1 to 4 are allowed, 1 being the
default. The MFT zone multiplier determines how much
space is reserved for the MFT on the volume. If all
other space is used up, then the MFT zone will be
shrunk dynamically, so this has no impact on the
amount of free space. However, it can have an impact
on performance by affecting fragmentation of the MFT.
In general use the default. If you have a lot of small
files then use a higher value. The values have the
following meaning:
Value MFT zone size (% of volume size)
1 12.5%
2 25%
3 37.5%
4 50%
NOTE: This is currently ignored! Work in progress.

Known bugs and (mis-)features
=============================

- Do not use the driver for writing as it corrupts the file system. If you do
use it, get the Linux-NTFS tools and use the ntfsfix utility after
dismounting a partition you wrote to.

- Use the show_sys_files mount option which should make things work generally
better. (It results in both the short and long file names being shown as well
as the sytem files.)

- Writing of extension records is not supported properly.

- $MFT extension is badly broken and really needs rewriting.

Please send bug reports/comments/feed back/abuse to the Linux-NTFS development
list at sourceforge: linux-ntfs-dev@lists.sourceforge.net

ChangeLog
=========

NTFS 1.1.17:

- Fixed system file handling. No longer need to use show_sys_files
option for driver to work fine. System files are now always treated
the same, but without the option, they are made invisible to
directory listings. As a result system files can once again be opened
even without the show_sys_files option. This is important for the
statfs system call to work properly, for example.
- Implemented MFT zone including mount parameter to tune it (just like
in Windows via the registry, only we make it per mount rather than
global for the whole driver, so we are better but we have no way of
storing the value as we don't have a registry so either specify on
each mount or put it in /etc/fstab). [Stage 1 of 3, mount parameter
handling.]
- Fixed fixup functions to handle corruption cases and to return error
codes to the caller.
- Made fixup functions apply hotfixes where sensible. [Stage 1 of 2+,
in memory only.]
- Fixed ommission of "NTFS: " string in ntfs_error() output.
- Fixed stupid if statement bug in unistr.c. Thanks to Yann E. Morin
for spotting it.
- Get rid of all uses of max and min macros. This actually allowed for
optimizing the code in several places so it was a Good Thing(TM).
- Make ntfs use generic_file_open to enforce the O_LARGEFILE flag.
- Detect encrypted files and refuse to access them (return EACCES
error code to user space).
- Fix handling of encrypted & compressed files so that an encrypted
file no longer is considered to be compressed (this was causing
kernel segmentation faults).

NTFS 1.1.16:

- Removed non-functional uni_xlate mount options.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 10
EXTRAVERSION =-pre1
EXTRAVERSION =-pre2

KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)

Expand Down
5 changes: 3 additions & 2 deletions arch/ppc/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BK Id: SCCS/s.Makefile 1.18 07/07/01 13:37:26 paulus
# BK Id: SCCS/s.Makefile 1.21 08/19/01 20:06:47 paulus
#
# This file is included by the global makefile so that you can add your own
# architecture-specific flags and dependencies. Remember to do have actions
Expand All @@ -14,6 +14,7 @@
# Rewritten by Cort Dougan and Paul Mackerras
#

# Be sure to change PAGE_OFFSET in include/asm-ppc/page.h to match
KERNELLOAD =0xc0000000

ifeq ($(shell uname -m),ppc)
Expand Down Expand Up @@ -99,5 +100,5 @@ archclean:

archmrproper:

archdep:
archdep: scripts/mkdep
$(MAKEBOOT) fastdep
4 changes: 2 additions & 2 deletions arch/ppc/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

GZIP_FLAGS = -v9f

CFLAGS := $(CPPFLAGS) -O2 -DSTDC_HEADERS -fno-builtin -D__BOOTER__ \
-I$(TOPDIR)/arch/$(ARCH)/boot/include
CFLAGS += -fno-builtin -D__BOOTER__ -I$(TOPDIR)/arch/$(ARCH)/boot/include

AFLAGS += -D__BOOTER__
OBJCOPY_ARGS = -O elf32-powerpc

Expand Down
7 changes: 3 additions & 4 deletions arch/ppc/boot/chrp/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BK Id: SCCS/s.Makefile 1.10 07/19/01 09:11:27 trini
# BK Id: SCCS/s.Makefile 1.13 07/27/01 20:24:17 trini
#
# Makefile for making ELF bootable images for booting on CHRP
# using Open Firmware.
Expand All @@ -14,16 +14,15 @@ else
MSIZE=
endif

CFLAGS += -fno-builtin

.c.o:
$(CC) $(CFLAGS) -DKERNELBASE=$(KERNELBASE) -c -o $*.o $<
.S.o:
$(CC) $(AFLAGS) -traditional -c -o $*.o $<

LD_ARGS = -Ttext 0x00400000

OBJS = ../common/crt0.o start.o main.o misc.o ../common/string.o image.o
OBJS = ../common/crt0.o start.o main.o misc.o ../common/string.o image.o \
../common/ofcommon.o
LIBS = $(TOPDIR)/lib/lib.a ../lib/zlib.a
ADDNOTE = ../utils/addnote
PIGGYBACK = ../utils/piggyback
Expand Down
Loading

0 comments on commit dccd385

Please sign in to comment.