jdolecek
c118cb14c0
linux_sys_getdents64(): make the d_off member point to next entry, rather
...
than current one; this is expected (even documented) behaviour of the
new system call
This fixes the endless loop when reading directories on NFS, though
applications won't see all directory entries due to different problem.
Fix by Matthias Scheler and Charles Hannum.
2002-05-20 06:40:37 +00:00
jdolecek
aae43707d7
whitespace fixes
2002-05-20 06:26:46 +00:00
jdolecek
def25b45fa
Fix bug introduced in rev. 1.69 - linux_fakedev() returned always
...
zero for nontranslated raw devices.
This fixes recently discovered jdb /dev/dsp stdin problem, reported
on current-users by Mark Davies.
2002-05-20 06:22:43 +00:00
mhitch
d4b541239a
The second-stage boot loader, boot.amiga, uses the default command in the
...
boot loader image. Installboot can modify the default command in the
first-stage bootblocks, which will have no effect. Copy the default command
from the first-stage bootblock into the second-stage bootloader so modifying
the commandline with installboot actually works again.
2002-05-20 05:58:45 +00:00
scottr
c3abd2f233
From John Klos, originally committed to the amiga port:
...
Updated NKMEMPAGES_MAX_DEFAULT so that large memory systems won't crash
when allocating/deallocating lots of memory at once.
2002-05-20 05:28:11 +00:00
thorpej
7f2c33ee8b
Add another Linksys card.
2002-05-20 00:51:29 +00:00
bjh21
b741178a9b
Regen: RISC Developments IDE, FaxPack.
2002-05-19 22:34:07 +00:00
bjh21
b6c3ea4d91
Add a few Wakefield acquisitions:
...
Computer Concepts FaxPack
RISC Developments 8-bit IDE interface
Note about Oak EtherO card, which seems to share an ID with their SCSI card.
2002-05-19 22:29:57 +00:00
scottr
ed8eb9970b
SMALLRAM is an effective replacement for the SPOT and MYSTERY configs,
...
which are IIcx and IIx machines with not much RAM, respectively.
The PUMA config is configured somewhat optimally for one of Allen's
Quadras but doesn't do anything special as compared to SMALLRAM.
2002-05-19 22:01:01 +00:00
scottr
5b2ea74e40
Example configuration for a system with a slow 68030 with limited RAM.
...
This was derived from the old SPOT config and is a cousin of the MYSTERY
config, both of which will be summarily executed.
2002-05-19 21:58:27 +00:00
jdolecek
51260b556e
use 'jmp label:l' to force adressing to be absolute, rather than pc-relative
2002-05-19 21:40:04 +00:00
jdolecek
ce58107cdd
use jmp label:l to force absolute, rather than pc-relative, adressing
2002-05-19 21:34:16 +00:00
tls
92f8323be6
Fix client-side lockmgr: locking against myself panic immediately upon an
...
attempt to NFS-mount a filesystem with the -l (use ReaddirPlus RPC) option.
Fix from Bill Sommerfeld.
2002-05-19 20:51:04 +00:00
leo
5b406e9d20
Try to defeat the assembler optimizer. If we jump to a local label, it tries
...
to use a pc-relative jump. Which is definitely not what is needed in the
relocation code!
This is new in the current assembler apparantly. None of the kernels build
after my latest upgrade were able to boot... What else is lurking!
2002-05-19 20:26:58 +00:00
augustss
cea3466ea6
Add NEED_BINARY, similar to NEED_SREC.
2002-05-19 18:57:33 +00:00
augustss
7202dc2f30
Add CPU_CI symbol so that bzero.S actually compiles on ports other than walnut.
2002-05-19 18:56:54 +00:00
jdolecek
ff2064e0c8
make compat_linux LKM buildable on macppc
2002-05-19 18:18:36 +00:00
jdolecek
bfbe50611b
On archs with broken linux struct stat64 st_ino, rename linux_stat64's
...
lst_ino to __lst_ino and lst_ino64 to lst_ino, and define
LINUX_STAT64_HAS_BROKEN_ST_INO. Only assign __lst_ino if this define
is present.
This fixes compile on powerpc archs, and hence port-powerpc/16893.
2002-05-19 18:03:15 +00:00
jdolecek
98a5f2b671
hook in truncate64(2) and ftruncate64(2)
2002-05-19 17:55:42 +00:00
jdolecek
973744c531
add missing linux_file64.c, which is needed now
2002-05-19 17:55:08 +00:00
bouyer
953ad0720e
Add support for HPT374. Submited by Matthew Rezny in kern/16897, with
...
minor adjustements by me.
2002-05-19 17:40:46 +00:00
jdolecek
2fc860bc0d
make usable in LKM context (use #if defined(_KERNEL_OPT))
2002-05-19 16:55:43 +00:00
bouyer
5cf2b73fb8
Regen: add HPT372 and 74 PCI IDE controllers.
2002-05-19 16:02:44 +00:00
bouyer
503b19427a
Add HPT372 and 74 PCI IDE controllers.
2002-05-19 16:00:19 +00:00
msaitoh
7c10da8b66
fix some overflow cases.
2002-05-19 15:10:46 +00:00
itojun
12bdf036e2
pull in SPD lifetime management code. fix refcnt for SPD entries.
...
sync w/kame
XXX dead SPD entry lifetime - undergoing sakane's review
2002-05-19 08:22:12 +00:00
isaki
74b7155205
Ignore incompatible part between GNU tar and pax.
...
idea from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
2002-05-19 08:14:13 +00:00
itojun
9244bd8154
document net.key.* sysctl. provide sysctl MIB for controlling
...
proposal payload on ACQUIRE message. sync w/kame
2002-05-19 08:12:55 +00:00
itojun
691d519c66
remove unneeded decl for __ss_{len,family}
2002-05-19 07:54:05 +00:00
augustss
aaf6178285
Handle the "aligment" fault generated by DCBZ when the cache is off.
...
That way you can run the processor with caches off.
2002-05-19 06:35:45 +00:00
augustss
4bc0b333ea
Update dma memory access API a little.
2002-05-19 06:24:30 +00:00
augustss
894da75819
Regen.
2002-05-19 06:20:01 +00:00
augustss
4b2bf1316d
Another mouse.
2002-05-19 06:13:29 +00:00
itojun
d2fd814987
in sp caching code, check if sp is still alive. sync w/kame
2002-05-19 00:46:40 +00:00
nathanw
6b65b300bf
Add missing common or OSF/1 PALcode instructions from the AARM: wtint,
...
clrfen, urti.
2002-05-19 00:23:50 +00:00
sommerfeld
404be58a8d
Regen
2002-05-19 00:19:22 +00:00
sommerfeld
889b8b80d2
Some E7500 device ids
2002-05-19 00:17:34 +00:00
sommerfeld
d7135de9ea
Regen
2002-05-19 00:01:29 +00:00
sommerfeld
11aa3c6a28
Fortunately for us, all interrupt controllers are not 8259's
2002-05-19 00:01:09 +00:00
sommerfeld
60cfb93a0f
Some P64H2 device ids
2002-05-18 23:58:00 +00:00
jmcneill
f70f5218cf
Add a 'tlp at pci' attachment to the laptop installation kernel. GENERIC_LAPTOP
...
already has this, and some machines (notably, mine :) ) have onboard tlp and
won't boot with INSTALL or GENERIC.
2002-05-18 23:49:40 +00:00
jklos
7cb0b700f0
Updated NKMEMPAGES_MAX_DEFAULT so that large memory systems won't crash
...
when allocating/deallocating lots of memory at once.
2002-05-18 23:00:32 +00:00
itojun
ea750a3018
sync with KAME.
...
- don't MALLOC() with M_WAITOK in the spl block.
move the allocation before splnet().
- when we reset vt of a class, reset the runtime service curve as well.
- don't use max() to compare 64 bit values.
2002-05-18 22:53:25 +00:00
itojun
1d8b891867
sync with KAME.
...
- make altq_etherclassify() able to handle packets whose ethernet header
is in a separate mbuf. closes netbsd PR 16559
2002-05-18 22:52:44 +00:00
sommerfeld
ce6cc5672c
Add "pa_rawintrpin" containing unswizzled interrupt pin to pci_attach_args.
2002-05-18 21:40:41 +00:00
ad
d7e512df18
- Use write barriers.
...
- NBPG -> PAGE_SIZE.
2002-05-18 20:59:20 +00:00
tsutsui
e8b1f54f84
Use ${.TARGET} where appropriate.
2002-05-18 19:03:10 +00:00
sommerfeld
314ef13c23
In pci_probe_device(), correct test for whether the device is behind a
...
pci-pci bridge (and thus needs its interrupts "swizzled").
Formerly, pci_probe_device() assumed pci busses other than bus zero
were bridged; however, much recent x86 hardware supports multiple
primary pci busses differently -- there is a system-wide bus numbering
scheme. Now, we instead look at the (newly introduced) sc_bridgetag
value in the parent bus to figure out if there's a ppb or equivalent
in the way.
This fixed at least one case where the i386 MP branch gets interrupt
mapping wrong.
2002-05-18 18:14:11 +00:00
bouyer
af09484589
Be more verbose when returning XS_DRIVER_STUFFUP
2002-05-18 16:09:43 +00:00
kent
820aca767e
USB_ATTACH: Initialize sc_plachan.altidx and sc_recchan.altidx with -1.
2002-05-18 15:14:39 +00:00