wiz
a266aad8d4
Fix typo in comment.
2002-06-18 12:35:09 +00:00
drochner
8d0aee4e8d
make it compile with ACPI_DEBUG
...
(removing the half-done debugging support, sorry)
2002-06-18 10:32:02 +00:00
drochner
93755862ca
make it compile with ACPI_DEBUG
2002-06-18 10:26:15 +00:00
tron
cee165577f
Fix typo which caused a build failure for kernels with diagnostic checks.
2002-06-18 09:56:33 +00:00
fvdl
0b5350133b
Add MTRR support.
2002-06-18 08:35:14 +00:00
fvdl
7a777905af
Make this compile again.
2002-06-18 08:34:57 +00:00
fvdl
ff5489fd50
MTRR includes.
2002-06-18 08:31:42 +00:00
fvdl
4622ad6f14
MTRR support for x86_64. Will be shared with i386 later.
2002-06-18 08:30:33 +00:00
tshiozak
368090887b
add MI part of ACPI sleep state transition code.
...
However, we have no interface to use it, and we also need device driver
support. (e.g. D2/D3 support for PCI)
2002-06-18 08:09:21 +00:00
fvdl
87b285ba0d
Repair damage done in systrace commit. Since argsize is nog longer
...
passed, assume it's sy_narg * sizeof (register_t). The code
made this assumption implicitly anyway. Fixes compat_*32 tracing.
2002-06-18 08:01:30 +00:00
tshiozak
2d5fc6d0a9
add MD support for ACPI sleep/wakeup.
2002-06-18 07:56:12 +00:00
tshiozak
0c0fe6076b
use AcpiHwRegister{Read,Write} functions instead of (obsoleted)
...
AcpiHwBitRegister{Read,Write}.
2002-06-18 07:53:05 +00:00
tshiozak
c6d5efc480
auto-generated code from acpi_wakecode.S.
...
standard update process of this file :
1. fix acpi_wakecode.S .
2. commit acpi_wakecode.S .
3. make -f Makefile.wakecode
4. commit acpi_wakecode.h .
2002-06-18 07:41:15 +00:00
tshiozak
4ba1b15b75
add a code to embed RCS tag of acpi_wakecode.S in acpi_wakecode.h .
2002-06-18 07:37:37 +00:00
tshiozak
834397e5a9
ACPI wake-up code for i386. but, we have no interface to use it efficiently.
2002-06-18 07:25:12 +00:00
thorpej
02ce7a5707
cdev_systrace_init() only gets an "open" entry point.
2002-06-18 05:30:40 +00:00
itojun
524e044ee5
apm emulation, from openbsd
2002-06-18 05:22:50 +00:00
itojun
ddd8d90dc2
KNF (whitespace)
2002-06-18 04:35:02 +00:00
itojun
b00d5fb87a
extern decl for adbHardware
2002-06-18 04:33:36 +00:00
itojun
7eba810efa
s/options\t\t/options \t/
2002-06-18 03:06:58 +00:00
christos
1fb8545c60
Copyright and comment clarification from Masanori-san.
2002-06-18 02:42:16 +00:00
thorpej
2d2b1d78ae
sys_fpathconf: Don't panic in the default case; just return EOPNOTSUPP.
2002-06-18 02:04:08 +00:00
itojun
0c74b798cb
make macppc install floppy IPv6 ready
...
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
2002-06-18 02:02:20 +00:00
thorpej
2d892281ef
Need DTYPE_SYSTRACE (XXX for now, until we get real cloning devices).
2002-06-18 01:54:05 +00:00
thorpej
5cbb1e82f1
* Don't bother protecting the body of the source file with #ifdef SYSTRACE.
...
It's not even built if the option isn't present.
* Use cdev_decl() to generate prototypes for the devsw functions.
* Minor whitespace cleanup.
* Nuke the SYSTR_CLONE ioctl from orbit; instead, just clone it in
systraceopen(), like we do with svr4_net.
2002-06-18 01:24:15 +00:00
augustss
b281015496
Regen.
2002-06-18 01:02:39 +00:00
augustss
c76a2b70d7
Another Atmel chip.
2002-06-18 01:02:15 +00:00
itojun
73941c5096
avoid hardcoding MBR_MAGICOFF and MBR_MAGIC.
2002-06-18 00:37:25 +00:00
thorpej
1058dd7aa3
Only build kern_systrace.c if the SYSTRACE option is used.
2002-06-18 00:33:57 +00:00
augustss
cdfeb5f2ff
Regen.
2002-06-18 00:32:55 +00:00
augustss
81779a3b41
Add another scanner.
2002-06-18 00:32:30 +00:00
itojun
980d7c811b
LABELSECTOR is redefined to be 0 on macppc, so it is not usable for MBR
...
disk label offset. use hardcoded "1" for now, i guess we need a new #define
in sys/disklabel_mbr.h. fixes ofwboot to boot kernel off from MBR-formatted
disk.
2002-06-17 23:59:01 +00:00
simonb
4cf248e04b
Fix tyop.
2002-06-17 22:48:45 +00:00
christos
8bb4772dd8
move spic_acpi to arch/i386/acpi
2002-06-17 22:39:25 +00:00
christos
d0497fdbca
glue for MD acpi devices.
2002-06-17 22:38:31 +00:00
christos
5d3a22f6d5
Move MI drivers here. Approved by thorpej
2002-06-17 22:38:03 +00:00
christos
4b396d8f13
AcpiUtGetObjectTypeName is not defined if we are not debugging.
2002-06-17 22:30:07 +00:00
fvdl
42d8b412ee
Add XMM trap type.
2002-06-17 21:38:20 +00:00
matt
c937154e18
Add a missing return; after print the 745x cache size(s).
2002-06-17 21:28:48 +00:00
christos
281c8c638b
apply the fix from the powerpc port. this is almost a copy of powerpc/trap.c
...
and needs to be refactored.
2002-06-17 21:08:56 +00:00
christos
eb5c1061a2
try to make this compile.
2002-06-17 21:07:40 +00:00
bjh21
1dda0b462c
Kill off vidcvideo_textpalette() again, but better.
...
This time, vidcvideo_stdpalette() uses vidcvideo_write(), as it should, and
correctly initialises the paletter in 16bpp and (I hope) 32 bpp modes.
This fixes the colours on the text console in 16bpp modes. 32bpp seems to be
generally broken anyway.
2002-06-17 21:00:13 +00:00
wrstuden
de114b01ee
Add cscope and mkid (and cscope.out and ID) targets to kernel compile
...
Makefiles. The main feature added by these targets is that they cover
ONLY the source files used for a given kernel and no other. Thus when
examining MD routines provided by all machines, you will see only
those applicable for your kernel.
2002-06-17 20:31:26 +00:00
christos
3b50728cf4
MD systrace gluons.
2002-06-17 16:32:57 +00:00
christos
581a55332b
systrace support.
2002-06-17 16:24:57 +00:00
christos
b86e6ac858
Systrace support.
2002-06-17 16:23:58 +00:00
christos
acf2d4083d
Niels Provos systrace work, ported to NetBSD by kittenz and reworked...
2002-06-17 16:22:50 +00:00
itojun
9e1c373ba9
make it possible to handle/mount FDISK-partitioned disk.
...
extended FDISK partitions are not supported yet.
openbsd code was used as reference.
2002-06-17 15:07:06 +00:00
jdolecek
1d64dfa199
regen:
...
add VIA Technologies VT8653 and VT8633 entries
move VT82C686A_MC97 entry to where it numerically belongs
2002-06-17 14:08:25 +00:00
jdolecek
8a8c3e3040
add VIA Technologies VT8653 and VT8633 entries
...
move VT82C686A_MC97 entry to where it numerically belongs
2002-06-17 14:07:14 +00:00
fredette
51c7735d8a
Compile all standalones for the 68010, which makes bootblocks
...
compiled for the sun3 also usable on a sun2. This enables
making a single filesystem that can boot on all of sun2, sun3,
and sun3x (say, like on a CD-ROM).
2002-06-17 13:35:04 +00:00
kanaoka
23508069b7
- Show SCI interrupt information.
...
- Remove ACPI_STA_DEV_SHOW from device check in acpi_build_tree().
2002-06-17 08:18:51 +00:00
martin
802d01cc19
Add support for Zcomax/ELSA XI325. From Jasper Wallace in PR 17252.
2002-06-17 07:47:33 +00:00
martin
1afa7ca375
Regen (XI325 Wireless LAN added)
2002-06-17 07:40:31 +00:00
martin
c7a70b196f
Add ELSA XI325 Wireless LAN, from Jasper Wallace
2002-06-17 07:38:42 +00:00
lukem
4f0cd76133
Add clockctl device (at major # 55).
2002-06-17 06:27:26 +00:00
lukem
9574a41373
regen for clockctl
2002-06-17 05:25:18 +00:00
lukem
fde6ae6f04
Enable "pseudo-device clockctl" in all kernels, except
...
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
manu
758eb330b4
build without DEBUG_IRIX
2002-06-17 05:01:56 +00:00
manu
eae183fa32
Added COMPAT_LINUX and COMPAT_ULTRIX (commented out)
2002-06-16 21:03:36 +00:00
manu
e7be1a51a5
Commented out COMPAT_IRIX in GENERIC kernels, because it is still
...
quite experimental.
Added irix_kmem and irix_usema pseudo devices which are used by
IRIX binary compatibility (commented out for now)
2002-06-16 20:54:28 +00:00
itojun
3033187db0
previous commit cached pcb policy too much (when pcb points to
...
SPD entry that is not ipsec - like "none"). back it out. sync w/kame
2002-06-16 16:28:36 +00:00
augustss
0c3e1ecc44
Match Sony Clie 4.1.
2002-06-16 15:01:31 +00:00
augustss
a66fe6523b
Regen.
2002-06-16 15:00:41 +00:00
augustss
72ec9576e9
Add Sony Clie 4.1 devices.
2002-06-16 15:00:18 +00:00
augustss
9b2766b49b
Use different quirks for Sony Memory Stick. From John Heasley in kern/16946.
...
Also don't munge all sony devices when patching subclass.
2002-06-16 14:59:58 +00:00
bjh21
f4de492459
Parenthesise arguments to VIDC_BLUE and VIDC_GREEN correctly.
2002-06-16 14:53:24 +00:00
bjh21
0501229019
Revert last. vidcvideo_textpalette() and vidcvideo_stdpalette set the palette
...
by different means.
2002-06-16 14:02:04 +00:00
bjh21
fe2313a380
vidcvideo_stdpalette() and vidcvideo_textpalette() do precisely the same thing.
...
G/C the latter and change its only caller to use the former.
2002-06-16 13:38:12 +00:00
bjh21
a246f35cb2
Un-__P, ANSIfy, clean up comments.
2002-06-16 13:25:02 +00:00
bjh21
00ae586c6d
None of the children of vidc now use their aux pointer, so there's no need
...
to set it, and vidcprint isn't needed to print it. G/C all that code, and
most of the rest of vidcsearch too.
This also means that the locators on vidc's children are unused, so G/C them
as well.
2002-06-16 13:20:14 +00:00
bjh21
fe5dfeb33a
struct lmcaudio_softc.iobase was unused other than to initialise it. G/C it.
...
This also means that the "aux" parameter to lmcaudio_attach is unused.
2002-06-16 12:38:11 +00:00
bjh21
cb54bb1599
struct vidcaudio_softc.iobase was unused other than to initialise it. G/C it.
...
This also means that the "aux" parameter to vidcaudio_attach is unused.
2002-06-16 12:36:42 +00:00
bjh21
1ee77efc62
Un-__P, ANSIfy, KNF.
2002-06-16 12:33:41 +00:00
bjh21
feccadb213
Un-__P, ANSIfy and light KNF.
2002-06-16 12:30:13 +00:00
bjh21
c20d5eb645
sc_iobase wasn't used, except to initialiase it at attach time. Kill it.
...
Hence remove all uses of "aux".
2002-06-16 12:24:23 +00:00
bjh21
5ed34fe182
Kill options XSERVER: nothing referred to it anyway.
2002-06-16 12:14:30 +00:00
bjh21
125a3becb6
Pull out config(8) input for arch/arm/iomd code into files.iomd, since that's
...
clearly where it belongs. Normalise the whitespace in the moved text.
2002-06-16 12:11:23 +00:00
perseant
983455d349
Bump version to 1.6B: changed ITIMES.
2002-06-16 00:14:13 +00:00
perseant
ddfb1dbb92
For synchronous writes, keep separate i/o counters for each write, so
...
processes don't have to wait for one another to finish (e.g., nfsd seems
to be a little happier now, though I haven't measured the difference).
Synchronous checkpoints, however, must always wait for all i/o to finish.
Take the contents of the callback functions and have them run in thread
context instead (aiodoned thread). lfs_iocount no longer has to be
protected in splbio(), and quite a bit less of the segment construction
loop needs to be in splbio() as well.
If lfs_markv is handed a block that is not the correct size according to
the inode, refuse to process it. (Formerly it was extended to the "correct"
size.) This is possibly more prone to deadlock, but less prone to corruption.
lfs_segclean now outright refuses to clean segments that appear to have live
bytes in them. Again this may be more prone to deadlock but avoids
corruption.
Replace ufsspec_close and ufsfifo_close with LFS equivalents; this means
that no UFS functions need to know about LFS_ITIMES any more. Remove
the reference from ufs/inode.h.
Tested on i386, test-compiled on alpha.
2002-06-16 00:13:15 +00:00
leo
14693fb272
Regen for nvr0 + keyword clash.
2002-06-15 21:45:36 +00:00
leo
682c6f398a
Avoid using variable names in the comments. They turn into useless '1' values
...
if defined.
2002-06-15 21:44:07 +00:00
leo
e599730d1b
Add the nvram device. It really is the same as on the other machines and
...
installboot(1M) needs it.
2002-06-15 21:38:33 +00:00
matt
940fedda07
Fix make breakage. $ZDST != ${ZDST} in make. make clean/cleandir now works.
2002-06-15 19:30:56 +00:00
matt
66f6833318
Make sure to cleanup the ${PROG}.out files
2002-06-15 19:26:49 +00:00
thorpej
5dfc880fdd
* #if 0 ACPI_DISABLE_IRQS() and ACPI_ENABLE_IRQS(); they're not used.
...
* Fill in ACPI_ACQUIRE_GLOBAL_LOCK() and ACPI_RELEASE_GLOBAL_LOCK()
(copied from FreeBSD just to get it working -- room for improvement,
here).
2002-06-15 18:59:03 +00:00
thorpej
17848b05a8
Update for acpica-unix-20020612. From Takayoshi Kochi.
2002-06-15 18:01:05 +00:00
thorpej
1b7848b55b
Remove a locally-added static from several functions, now that
...
the master sources have added extern prototypes for them.
2002-06-15 17:59:50 +00:00
thorpej
aed30267cd
Update for acpica-unix-20020612.
2002-06-15 17:58:34 +00:00
thorpej
d24f2ef86a
Don't define DEBUGGER_THREADING if it's already defined.
2002-06-15 17:56:48 +00:00
thorpej
d1da74ff06
Delete files not present in acpica-unix-20020612.
2002-06-15 01:59:29 +00:00
thorpej
932e9074c8
Update for acpica-unix-20020612.
2002-06-15 01:58:23 +00:00
thorpej
bd5d00a47f
Add RCS IDs.
2002-06-15 01:52:19 +00:00
thorpej
c510528ce7
Resolve conflicts from acpica-unix-20020612 import.
2002-06-15 01:47:07 +00:00
mjacob
fc73c60a36
Add support for ISP_FC_GETHINFO which can tell you connection topology,
...
current speed, loopid, etc.
2002-06-15 00:20:18 +00:00
mjacob
aaa250cade
Roll version minor.
...
Add DEFAULT_FRAMESIZE/DEFAULT_EXEC_THROTTLE/ISPASYNC_FW_RESTARTED
defines.
2002-06-15 00:18:02 +00:00
mjacob
168ee5d9a6
keep target mode up to date.
2002-06-15 00:17:28 +00:00
mjacob
e02259aa26
Add support for ISP_FC_GETHINFO which can tell you connection topology,
...
current speed, loopid, etc.
2002-06-15 00:17:07 +00:00
mjacob
942d8435f7
Make sure we set maxluns even if isp_touched is already set.
...
Do a fallback on reading stuff from the fabric. Some devices/initiators
don't correctly register their type with the fabric nameserver. This
seems to be due to a misinterpretation of what TYPE should mean for a
CT_HDR. In any case, do a fallback to try and catch these misentered
entities.
Add some stuff for default framesize and throttle. Fix some buglets.
2002-06-15 00:16:26 +00:00
mjacob
f76122c26b
Make all 23XX cards 'touched'. We seem to, too often, hang when trying
...
to run ABOUT FIRMWARE at the first isp_reset call. We *do* check for
the registers being set with values which would tell us if there's
firmware running or not- but this seems to not always work. It's not
essential, so move on.
2002-06-15 00:11:36 +00:00
thorpej
3b40046c9a
Import the Intel ACPICA Unix 20020612 release.
2002-06-14 23:36:27 +00:00
itojun
43397e000b
whitespace
2002-06-14 22:43:38 +00:00
itojun
a7ec566073
#define CAPS_IS_CONTROL will make caps key a control key (with weird
...
LCD indicator). From: "Nathan J. Williams" <nathanw@wasabisystems.com>
(#define name taken from arch/i386/isa/pccons.c)
2002-06-14 22:43:05 +00:00
manu
0e28620e0f
Two forgotten files in last commit for get/setrlimit
2002-06-14 20:33:11 +00:00
eeh
863fc84f4d
Provide the correct architecture for HW_MACHINE_ARCH so things like
...
"sysctl -p" can tell they are in 32-bit land.
2002-06-14 18:28:19 +00:00
eeh
923804f36a
Fix hardware watchpoints and add an extract function so we can easily find
...
the physical addresses of things (to feed to the physical watchpoint).
2002-06-14 17:12:05 +00:00
thorpej
5b5608e8b2
Use M_IFMADDR instead of M_IPMADDR. From John Franklin, kern/16251.
2002-06-14 15:21:45 +00:00
thorpej
05c37016cb
Map the device's memory space with BUS_SPACE_MAP_LINEAR, since we
...
need to be able to access it as such.
Fixes kern/17114.
2002-06-14 15:15:23 +00:00
itojun
c1808f02bf
cache pcb policy as much as possible. in fact, if policy is not
...
IPSEC_POLICY_IPSEC we don't need to compare spidx. sync w/kame
2002-06-14 14:47:24 +00:00
itojun
813344bfbe
remove redundant line
2002-06-14 14:17:55 +00:00
ragge
e665b4e35e
Must check B_PHYS, not b_proc, if it is DMA to userspace, otherwise the
...
machine will crash. This fixes a panic when a Unibus adapter runs out
of map registers (happens frequently), reported by Johnny Billquist.
2002-06-14 11:57:21 +00:00
wiz
51a583ff09
Make tabbing consistent. From Julio Merino in misc/17256.
2002-06-14 10:01:27 +00:00
ragge
631436bfb0
Add official machine numbers for PDP10 and PDP11.
2002-06-14 09:05:21 +00:00
itojun
c3e57df04c
discard 256 bytes of output every time we stir (not just when initializing)
2002-06-14 03:05:46 +00:00
eeh
efad9de6ca
NEVER CAST REFERENCE PARAMETERS!!!!!
2002-06-14 00:11:07 +00:00
bjh21
ae07cdce27
Change the entry pointer of the module from an offset to a branch instruction.
...
This allows us to *Load boot26 at 0x8000 and then use *Go to run it.
This might be useful because we can't currently set the RISC OS filetype
for files on CDs, so they all end up being 0xffd (Data), and *RMLoad only
works for files of type 0xffa (Module), so we need some other way of loading
boot26.
2002-06-13 22:30:22 +00:00
bjh21
b9af29fd4f
Increase HIMEM to allow enough space for zlib's tables and 16 MB's worth of
...
page tables, so we can boot gzip'ed kernels on 16 MB machines.
2002-06-13 22:01:44 +00:00
gmcgarry
a47cb57561
Fix for 64-bit event counters. Fixes PR17207.
2002-06-13 21:04:37 +00:00
gmcgarry
6c672d0196
Make this work with AUDIO_C_HANDLER.
2002-06-13 21:02:45 +00:00
gmcgarry
471fad1d4c
Hasn't been used for years.
2002-06-13 20:57:03 +00:00
augustss
b6c5332498
Add copyright notice (thanks itojun).
2002-06-13 16:48:34 +00:00
thorpej
8038dd2cbe
Disable TCP Congestion Window Monitoring by default; there are
...
performance problems in the face of tinygrams.
2002-06-13 16:31:05 +00:00
itojun
9368c444df
set IPv4 parameter to modern value.
...
- turn on path MTU discovery (previous: turned off)
- ICMPv4 redirect entry timeout = 600 sec (previous: never timeout)
2002-06-13 16:25:54 +00:00
augustss
afdb0a8737
Treat IPL_AUDIO a little different.
2002-06-13 15:29:16 +00:00
augustss
6115bde4ab
Add some comments.
2002-06-13 15:28:54 +00:00
augustss
74cfa48c7d
Use consistent naming.
2002-06-13 15:27:23 +00:00
dsainty
4cfd804df5
Regen.
2002-06-13 11:16:11 +00:00
dsainty
5c6618951c
Add 3com Bluetooth adapter
2002-06-13 11:11:08 +00:00
itojun
425b0d2350
typo
2002-06-13 05:12:12 +00:00
itojun
00f97b0202
drop too short IPv6 frame
2002-06-13 05:10:34 +00:00
itojun
a8dde3fa57
free secpolicy on deepcopy failure
2002-06-13 05:10:13 +00:00
itojun
bc880e4114
correect AF_INET6 handling
2002-06-13 05:09:52 +00:00
augustss
ff306f407a
Fix typo in probe code.
2002-06-12 23:33:56 +00:00
eeh
bfc1e3973f
Dynamically allocate the buffer we use for filesystem deblocking based on
...
the filesystem blocksize in the super block. Allows us to read filesystems
with block sizes > 8KB.
2002-06-12 22:18:02 +00:00
manu
022bd85d32
When sproc is used to create a share group with shared memory, there is a
...
private area called PRDA that remains unshared. We implement this by using
different vmspace for each share group member, and keeping the memory
appings in sync on each mmap/munmap/mprotect/break...
We use irix_saddr_sync_vmcmd and irix_saddr_sync_syscall to apply a
vmcmd or a syscall to all share group member, this makes the job a bit
easier.
Also implements {get|set}rlimit{64}.
2002-06-12 20:33:20 +00:00
fvdl
c7647a1294
Fix up the FP code some, and make it deliver XMM exceptions. Adapt
...
sigframe a bit.
2002-06-12 19:13:27 +00:00
itojun
dc96111483
deep-copy pcb policy if it is an ipsec policy. assign ID field to all
...
SPD entries. make it possible for racoon to grab SPD entry on pcb
(racoon side needs some changes). sync w/kame
2002-06-12 17:56:45 +00:00
eeh
9984a8bbcc
Fix some corner cases in bus_dmamap_load_mbuf().
...
From Takeshi Nakayama <tn@catvmics.ne.jp>
2002-06-12 17:06:15 +00:00
bouyer
6280502d5f
Bump delay() between reset and IDENTIFY from 100 to 5000. Some ATAPI devices
...
wedge when talking to them too soon, and incorrectly react to WDC_RESET.
Close PR kern/17208 by Paul Goyette.
2002-06-12 09:55:47 +00:00
itojun
cc8fe8c179
make function static
2002-06-12 03:46:16 +00:00
itojun
bad1f500a7
remove unused functions
2002-06-12 03:37:14 +00:00
itojun
3489976392
do not copy policy-on-socket at all. avoid copying packet header value to
...
struct spindex. should reduce memory usage per socket/pcb, and should speedup
ipsec processing. sync w/kame
2002-06-12 01:47:34 +00:00
eeh
c08cac5019
Use the correct bus handle to generate the handle for the streaming buffers.
2002-06-12 00:43:22 +00:00
eeh
e98ab1d613
Fixes for the rtc clock on Netra X1 machines from PRs 15611 and 16816
...
by Takeshi Nakayama.
2002-06-11 23:33:27 +00:00
kleink
dd6cccb3f2
Add a case label for the 603ev cache (identical to 603e).
2002-06-11 22:24:35 +00:00
eeh
715641d6a1
Do not truncate the kernel pmap physical address to an `int' before
...
sticking it in the context lookup table. Fixes a booting issue on
Netra T1125s.
2002-06-11 21:10:03 +00:00
itojun
fa53d749ff
share policy-on-pcb for listening socket. sync w/kame
...
todo: share even more, avoid frequent updates of spidx
2002-06-11 19:39:59 +00:00
itojun
2533e1f81f
avoid variable name confusion. sync w/kame
2002-06-11 17:26:52 +00:00
uwe
222181a0e0
Fix typo in nmi_sun{4,4c}, use correct register.
2002-06-11 11:37:01 +00:00
pooka
fef2794715
s/splimp/splnet/ in comment
2002-06-11 11:03:55 +00:00
itojun
9b2ae3537c
silence some of log(), as the codepath will be visited for IPv6-non-capable
...
interfaces too and can be annoying. net.inet6.icmp6.nd6_debug will
re-enable them.
2002-06-11 07:28:05 +00:00
pooka
dc325578c7
fix a few typos in comments
2002-06-11 06:00:57 +00:00
deberg
bb245959f9
bus_space_mmap(), same as atari port. untested, as it is unused.
2002-06-11 05:17:30 +00:00
matt
91650be524
Fix 2 bugs with MSG_WAITALL. The first is to not block forever if one is
...
trying to MSG_PEEK for more than the socket can hold. The second is that
before sleeping waiting for more data, upcall the protocol telling it you
have just received data so it can kick itself to re-fill the just drained
socket buffer.
2002-06-11 00:21:33 +00:00
ragge
8d6f662016
Don't try to connect a keyboard to serial line 0 if the serial console
...
is on line 0; it may destroy line settings.
2002-06-10 21:32:15 +00:00
ragge
fa0b03a3ac
Missed to check all possible non-graphics bits on VS2k, causing the
...
machine to crash during boot. Reported and debugged with help of
Valeriy E. Ushakov.
2002-06-10 20:52:11 +00:00
he
a8c83879a2
In soreceive(), if any part of a received record has been freed,
...
and an error occurs, make sure the socket doesn't retain a partial
copy by dropping the rest of the record.
This would otherwise trigger a panic("receive 1a") under DIAGNOSTIC.
Fixes PR#16990, suggested fix adapted.
Reviewed by Matt Thomas.
2002-06-10 20:43:16 +00:00
drochner
92ade669c9
increase IP TTL for BOOTP/DHCP request packets to avoid dumb
...
routers dropping the packet
(seems to be a problem with Cisco and its "helper-address" feature;
a Cabletron SSR I tested with didn't have this problem)
2002-06-10 17:45:54 +00:00
ragge
5e40948dec
Support for reading Ultrix disklabels. From the pmax port, fixed and tested
...
by Valeriy E. Ushakov.
2002-06-10 17:45:53 +00:00
itojun
c9faadc40f
return EPROTONOSUPPORT if unsupported protocol is specified
2002-06-10 17:40:26 +00:00
itojun
53b229d4cb
don't abuse IFF_UP
2002-06-10 17:38:31 +00:00
itojun
c0a05a111d
raise output errcnt
2002-06-10 17:30:16 +00:00
itojun
2d509e83c4
ENETDOWN if outer ip address is not configured.
...
plug mbuf leak while here.
2002-06-10 17:12:22 +00:00
itojun
ccdab26a23
don't use inner address configured by SIOCSIFADDR/DSTADDR
...
as outer addresses; now you need to configure outer address by
SIOCS*PHYADDR ("ifconfig tunnel"). as discussed on tech-net
2002-06-10 17:07:51 +00:00
someya
f4076c7aff
Make the yds driver work on big-endian systems.
2002-06-10 16:58:57 +00:00
itohy
ece09443af
s/XHOLE_VEC/XHOLD_VEC/
2002-06-10 14:52:21 +00:00
fredette
4c4e0cb59a
Added notes on hp700/hppa, tweaked sun68k description.
2002-06-10 14:25:41 +00:00
tron
4f9ae48b8f
Include "sys/types.h" here to fix compilation problems in 3rd party
...
applications.
2002-06-10 10:31:48 +00:00
cjs
a8056945a4
Recognise the VT8233A ATA100 controller and use Ultra-DMA mode 5 with it.
2002-06-10 08:41:11 +00:00
cjs
d4dfe8676c
Regenerate.
2002-06-10 08:38:27 +00:00
cjs
405914fc9b
Add Viatech VT8233A PCI-ISA Bridge.
2002-06-10 08:30:29 +00:00
uwe
49444f80fe
Fill delay slot in previous to match normal microtime.
2002-06-10 01:58:52 +00:00
ragge
400cbd0aad
Must multiply the pte count with its size when copying ptes when the P1
...
region is expanded. Fixes bug reported by Matt Thomas on port-vax.
2002-06-09 21:57:08 +00:00
uwe
45f993a079
Do not use "std" in ms-IIep micortime, the argument is not guaranteed
...
to be double-word aligned and it is not when we are called from bpf.
Remove "should be able to std here" comment in generic microtime.
While here, simplify some asm mnemonics and fix a typo in comment.
2002-06-09 20:02:41 +00:00
itojun
2a8a7da29d
style
2002-06-09 19:49:49 +00:00
matt
4cfae24f91
Add -ffreestanding and LIBC= to stand/boot/*/Makefile. Fix various
...
asm's to work with gcc-current.
2002-06-09 19:21:07 +00:00
itojun
7864ca478f
deprecate IFF_LINK2, !IFF_LINK0 is enough.
...
no need to manipulate IFF_LINK1 with IFF_LINK0.
remove reference to greconfig(8).
2002-06-09 19:17:43 +00:00
itojun
4c4b38eb0b
no need for if_addrlen be 4. From: Martin Husemann <martin@duskware.de>
2002-06-09 17:59:45 +00:00
itojun
c284599930
make sure to bzero sockaddr_in
2002-06-09 17:32:54 +00:00
itojun
9c95390f4a
style
2002-06-09 17:22:41 +00:00
itojun
a8b0c39863
don't forget splx
2002-06-09 17:18:32 +00:00
itojun
04aa2a1c65
avoid code duplicate (route lookup)
2002-06-09 17:17:15 +00:00
itojun
1a5eede494
style
2002-06-09 17:13:31 +00:00
itojun
6f21655564
support SIOCSLIFPHYADDR, SIOCDIFPHYADDR and SIOCGLIFPHYADDR, so that
...
we can manipulate tunnel endpoint by ifconfig(8).
2002-06-09 17:10:09 +00:00
taca
3fff4029d4
Add support for VIA Technologies's VT8231 IDE Controller to ATA/100.
2002-06-09 16:52:26 +00:00
taca
800e08ba3b
Regen.
2002-06-09 16:51:32 +00:00
taca
5a33c71fcc
Add VIA Technologies's VT8231 IDE Controller.
2002-06-09 16:50:51 +00:00
chs
ea4c4a989f
allow read-only mounts even if we can't read the last fragment of the fs.
...
this enables one to recover data from a failing disk (where the read failure
is a hardware problem) while avoiding corrupting the fs further (in the case
where the read failure is due to a misconfiguration).
2002-06-09 16:46:49 +00:00
itojun
f192b66b94
whitespace
2002-06-09 16:33:36 +00:00
tron
98568ec314
Add missing calls to bus_space_unmap(9) when the hardware RNG is not
...
detected, cannot be activated or doesn't work.
2002-06-09 15:02:25 +00:00
itojun
b05ff066a7
whitespace cleanup
2002-06-09 14:43:10 +00:00
isaki
df160ef3fc
Divided 406 bytes disklabel area into 'nop' and 404 bytes area.
2002-06-09 12:17:48 +00:00
bjh21
9f3fed2b60
Synchronise MONITOR and MODES definitions with GENERIC. This allows my NC to
...
boot in a screen mode that looks sensible on its LCD monitor.
2002-06-09 11:53:23 +00:00
martin
aed31ed511
Change default MTU to 1476 (same value that Cisco uses).
...
Do not limit the MTU when set by the admin with ifconfig, per discussion
on tech-net.
This fixes PR 16761 from Jasper Wallace.
2002-06-09 09:45:39 +00:00
itojun
39af55e317
enforce IPv4 link MTU for FDDI and ARCNET even in RTF_GATEWAY case.
...
PR 17151.
2002-06-09 05:09:26 +00:00
itojun
a636441cdc
reject "add" request if if_mtu is different.
2002-06-08 23:17:01 +00:00
itojun
e55d3b6782
indent cleanup
2002-06-08 21:32:55 +00:00
itojun
7316bc595b
KNF
2002-06-08 21:29:26 +00:00
itojun
2495e99fc7
gc
2002-06-08 21:28:18 +00:00
itojun
6d8d0d63d8
sync with latest KAME in6_ifaddr/prefix/default router manipulation.
...
behavior changes:
- two iocts used by ndp(8) are now obsolete (backward compat provided).
use sysctl path instead.
- lo0 does not get ::1 automatically. it will get ::1 when lo0 comes up.
2002-06-08 21:22:29 +00:00
itojun
fc5800e3fd
whitespace cleanup
2002-06-08 20:06:44 +00:00
martin
8d0aae90e8
Add support for ACTIONTEC wireless lan card, from jasper@pointless.net
...
in PR kern/17194.
2002-06-08 18:06:09 +00:00
martin
cd8bd9c2e1
Regen (ACTIONTEC wireless lan card added)
2002-06-08 18:02:08 +00:00
martin
e59eb100a6
Add ACTIONTEC wireless lan card.
2002-06-08 18:01:14 +00:00
bouyer
8305da0e8f
Ops, use the proper setup_channel() function for promise adapters.
...
Using pdc202xx_setup_channel() for PDC20268 and newer is wrong, and will
cause trap trying to read from a non-existent register on some arches
(e.g. macppc).
pointed out by Makoto Fujiwara on port-macppc.
2002-06-08 17:54:59 +00:00
yamt
310e66f3c9
make an auto const variable static.
2002-06-08 17:10:02 +00:00
yamt
0f75af34c0
constify and make auto const variables static.
2002-06-08 17:07:53 +00:00
yamt
7d0fd357f6
make auto const variables static.
2002-06-08 16:51:38 +00:00
yamt
71f556f70f
constify and make it static.
2002-06-08 16:44:14 +00:00
yamt
a3da5d94f3
constify.
2002-06-08 16:34:06 +00:00
yamt
560a78f6da
constify.
2002-06-08 16:20:24 +00:00
yamt
0015b85918
make an auto const variable static.
2002-06-08 16:08:54 +00:00
yamt
737ffe3619
make auto const variables static.
2002-06-08 16:03:55 +00:00
yamt
fed3639fa8
make auto const variables static.
...
(and space->tab)
2002-06-08 16:02:02 +00:00
yamt
d5fb44ee2c
make an auto const variable static.
2002-06-08 15:58:47 +00:00
yamt
08c9504e97
make auto const variables static.
...
ok'ed by thorpej.
2002-06-08 15:50:59 +00:00
ragge
e6d4f11739
Detection bug: If a packet is received while in the match() routine the stack
...
would be overwritten, so allocate memory for a full packet via malloc()
instead. Use correct buffer maxlen (must be 2 complemet). Bug reported
and helped to find by Roar Thronæs.
2002-06-08 12:28:37 +00:00
itojun
f64f00cc3f
need to protect if_attachdomain() too
2002-06-08 11:58:50 +00:00
itojun
ad2c23cb75
protect dom_ifattach by splnet
2002-06-08 11:54:24 +00:00
itojun
2f88f76db1
in6_len2mask is a duplicate of in6_prefixlen2mask. unify. sync w/kame
2002-06-08 00:07:00 +00:00
itojun
9736fd7f05
on SIOCAIFADDR_IN6 check if sin6_len is sane. sync w/kame
2002-06-08 00:01:30 +00:00
itojun
e4f39ff86f
panic() if NULL is passed to ah_sumsiz_xx. suggested by sam leffler, sync w/kame
2002-06-07 23:42:41 +00:00
itojun
36f10d3196
some KNF
2002-06-07 22:08:41 +00:00
itojun
acf7dffae4
some KNF
2002-06-07 22:07:38 +00:00
itojun
0026ddd6dd
no need for offsetof()
2002-06-07 22:06:48 +00:00
itojun
edcbce7c37
typo
2002-06-07 22:05:37 +00:00
itojun
a1e0f0f9a7
sync IPV6_CHECKSUM handling with kame.
2002-06-07 22:03:02 +00:00
chris
c153374b37
dmesg from cats booting can be bigger than 4k, so enlarge it to 8k.
2002-06-07 20:56:43 +00:00
briggs
8f360b5c1e
Disable awacs because on some systems--e.g., a 350MHz G4 GigE--it can
...
generate interrupt storms which render the machine essentially unusable.
2002-06-07 20:27:14 +00:00
eeh
63260bae95
Fix yet another inverted comparison.
2002-06-07 19:31:04 +00:00
eeh
751dd1000c
Shave 10% off the time needed to flush the D$ through a bit of instruction
...
reordering.
2002-06-07 19:29:38 +00:00
thorpej
ffe1440f29
Add the CPU ID for the 600MHz i80321 part.
2002-06-07 18:25:28 +00:00
fvdl
2aae9aee46
Fix mistakes in previous.
2002-06-07 18:19:30 +00:00
itojun
09342cdd61
typo
2002-06-07 18:19:05 +00:00
itojun
fc16676d8e
If there has been no NS for the neighbor after entering the
...
INCOMPLETE state, send the first solicitation in nd6_output(), regardless
of the timer value.
revised comments about rate-limiting accordingly.
sync w/kame
2002-06-07 17:15:12 +00:00
itojun
4e9401b698
comment
2002-06-07 17:13:56 +00:00
itojun
ac03214470
whitespace
2002-06-07 14:48:56 +00:00
ragge
c70e49d9e9
Change the uba devices from "xx0" to "xx*". Even if they have an exact
...
csr there may be multiple uba's in a machine and therefore multiple
matches for devices.
2002-06-07 14:48:11 +00:00
itojun
3e3b75590b
remove #if 0'ed portion
2002-06-07 14:43:11 +00:00
itojun
c889402ba0
style
2002-06-07 14:37:38 +00:00
itojun
3c11868be8
consistency
2002-06-07 14:35:55 +00:00
itojun
05f0c3e705
KNF a bit
2002-06-07 14:29:10 +00:00
itojun
14df31ceb3
look at rmx_mtu on IPsec tunnel MTU computation.
...
From: David Waitzman <djw@bbn.com>
2002-06-07 13:43:47 +00:00
itojun
a11e34efc5
whitespace
2002-06-07 07:38:51 +00:00
itojun
e2ce1896bd
whitespace
2002-06-07 07:35:39 +00:00
itojun
9b39e24802
minor KNF to sync w/kame
2002-06-07 04:30:40 +00:00
itojun
06ed16c31d
typo
2002-06-07 04:18:11 +00:00
itojun
922b4012cc
'fall through' is not a valid LINT keyword.
2002-06-07 04:07:55 +00:00
gmcgarry
94b4a243e6
Support Athlon performance counters.
2002-06-07 04:04:47 +00:00
itojun
83aff37a0f
remove support for deprecated ioctls (EINVAL). sync w/kame
2002-06-07 04:03:53 +00:00
gmcgarry
3acf6ed1d8
Add Athlon performance counters.
2002-06-07 04:03:49 +00:00
itojun
88a8e0dd9e
cope with ndi->maxmtu == 0 case. sync w/kame
2002-06-07 03:05:18 +00:00
itojun
fb6078474d
cope with cases when maxmtu == 0 (this shoulnd't happen!)
2002-06-07 02:31:04 +00:00
simonb
4d304073f1
Add some ifdef's around the usage of mips_wait_idle; fixes builds for
...
playstations2 and MIPS1-only kernels.
Based on patch from Bill Squier.
2002-06-07 02:05:22 +00:00
simonb
214395e5cd
For some reason I'm not sure of yet, cfe_exit(warmstart, ...) isn't
...
working any more. Just do a cold restart so at least we get back to
CFE for now...
2002-06-07 01:34:03 +00:00
gmcgarry
72fe1c3076
Add i586 performance counters.
2002-06-07 01:30:19 +00:00
fvdl
a35e1a5e5b
Match DIAGNOSTIC spl code in new system call entry. We may return
...
through the old one in the case of a 32bit exec, causing the check
to fire.
2002-06-07 00:06:21 +00:00
bjh21
00eaefef06
When copying a block with an odd size to or from the card, be very careful
...
not to overrun the end of it on the host side, since that might just slip over
a page boundary and cause an embarrassing kernel panic.
2002-06-07 00:01:19 +00:00
wrstuden
9e2b945a7b
defparam BPF_BUFSIZE
2002-06-06 23:54:47 +00:00
gmcgarry
4db43b2db0
Include PERFCTRS to match MTRR option. Now pmc(1) does something useful.
2002-06-06 21:16:47 +00:00
bjh21
452a764a15
Don't identify all VIDCs as "vidc20". Instead, print something appropriate
...
based on the type of IOMD in the system (which we use anyway to work out
the VCO reference clock frequency).
2002-06-06 21:03:28 +00:00
fredette
e978777b86
Added hppa support to libkern.
2002-06-06 20:03:37 +00:00
fredette
49b0456a72
Added some missing files.
2002-06-06 19:50:20 +00:00
fredette
b57559001e
Fixed some mixup between processor number and type name,
...
i.e., PCXT is PA7100, not PA7200.
2002-06-06 19:49:58 +00:00
fredette
1eb29e31bf
Added hp700-specific files. Still a work in progress.
2002-06-06 19:48:01 +00:00
he
33afd46155
Add newlines to the WARNING messages printed for the dynamic standby bug.
2002-06-06 17:20:50 +00:00
fvdl
c0a27f0970
Enable (empty) procfs_machdep.c
2002-06-06 15:58:23 +00:00
ragge
184de4483b
Pipes and swap disks takes a not insignificant amount of KVA, so therefore
...
it must be used in KVA calculation.
2002-06-06 12:28:44 +00:00
ragge
dad88a6ce6
Just return if a zero uba vector is handled. It's OK to get them on Unibus
...
machines.
2002-06-06 11:40:53 +00:00
fvdl
fab373098c
Fix wrong psstr computation.
...
(XXX why is there an entire copy of sys_execve here?)
2002-06-06 10:12:42 +00:00
drochner
3db12b1095
Don't detach the mouse from the mux just because the mouse device is
...
opened. Too annoying and unnecessary.
2002-06-06 09:16:12 +00:00
martin
07cafe307b
Follow changes in libsa/stand.h: exit(void) -> exit(int) (one in a #if
...
0 block), to make it compile again.
2002-06-06 05:04:28 +00:00
simonb
97f56c7642
Don't install <machine/rnd.h>.
2002-06-06 03:30:56 +00:00
perseant
c13ae45a2a
Let lfs_bmapv fill in the bi_size member of the BLOCK_INFO structure,
...
as well as bi_daddr. This lets the cleaner have an idea of what the size
of this block was at the time it was written without having to refer to
a segment header (e.g., in the file coalescing case).
Tested on i386.
2002-06-06 00:46:24 +00:00
fvdl
71f7cef933
Fix arglength passed to ktrsyscall for 32bit calls.
2002-06-05 22:50:08 +00:00
fvdl
39f41c9002
The intr counters are supposed to be long (==> .quad in assembler).
2002-06-05 21:59:32 +00:00
fvdl
1c3269bdc6
Change kmem access check to match the actual kva layout.
2002-06-05 21:58:30 +00:00
martin
2d7d715810
Add audiocs at ebus.
2002-06-05 21:42:31 +00:00
fvdl
18c6a6eceb
Correct arg passing to ktrsyscall once again (doh).
2002-06-05 20:54:44 +00:00
fvdl
0fc3b521af
Move the IDTVEC macro here, mirroring Jason's change for the i386 port.
2002-06-05 19:17:34 +00:00
fvdl
b1bff0ba73
Adapt for non-traditional cpp usage.
2002-06-05 19:16:18 +00:00
eeh
e7fe9c7c35
Handle improperly aligned stack pointers more cleanly.
2002-06-05 18:11:18 +00:00
drochner
7a79aa5e02
usability fixes for the debugger:
...
-cut yhe trailing '\r' from input lines so that commands are recognized
-use db_vprintf() for output in interactive mode to get the "|more" effect
-do the same setjmp() game as ddb, so we can return to the prompt
2002-06-05 17:58:33 +00:00
drochner
49c4cfb2c5
provide a db_vprintf() which is exactly what the name suggests
2002-06-05 17:53:52 +00:00
manu
55dd8b2806
- Introduce irix_check_exec() to check if a given process is an IRIX one
...
- First implementation of procblk(). THis is supposed to suspend processes.
We emulate this by sending a SIGSTOP, which is not very accurate since
on IRIX, sending a SIGCONT to a process suspended by procblk() will not
resume it.
- support for shared groups
2002-06-05 17:27:11 +00:00
bouyer
10f940facc
STE_CarrierSenseErrors is 8bit wide, not 16bit.
...
Reenable statistics interrupts, reading it as 16bit caused it to not be cleared,and thus the eventual interrupt to not be cleared (and this caused an
infinite loop in interrupt routine).
While I'm there count STE_CarrierSenseErrors as oerror (this is incremented
each time we try to send a packet and the link is down).
2002-06-05 16:27:29 +00:00
scw
9f2155138c
Fix a botched pmap_vsid_bitmap[] index.
...
I'm surprised this worked as long as it did.
2002-06-05 15:55:51 +00:00
bouyer
aad58d87e1
Rework transmit underrun logic:
...
- when a transmit underrun occurs, only reset the transmit logic. This prevents
the link from going down at the MII level (the same logic can probably
be used for other transmit errors)
- set the urgent threshold to half the start threshold. From experiments
this helps a bit decreasing the number of underruns
Now that underruns don't cause the interface to stop for several seconds,
make back out the default transmit threshold to 128.
2002-06-05 15:24:31 +00:00
thorpej
86490156db
Don't make _mcount static; it's already out of the user's namespace,
...
and doing so causes some versions of GCC to warn about "static function
prototype, but function not defined".
2002-06-05 15:14:16 +00:00
fvdl
9117c00bad
Set output arch to i386:x86-64. From Jason.
2002-06-05 15:06:56 +00:00
thorpej
af70ebcb19
Need <machine/intr.h> to be installed, for now.
2002-06-05 14:59:52 +00:00
fvdl
eb3b53295f
Don't forget to put the instruction size in tf_err on system call
...
entry, for the sake of syscall restart.
2002-06-05 14:59:37 +00:00
itojun
f45a8e9eb0
typo/bound check fix from YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
2002-06-05 13:11:34 +00:00
augustss
5d1d917cb8
Make it possible not to have akbd.
2002-06-05 06:33:18 +00:00
augustss
136b14943f
Add NL at end of file.
2002-06-05 06:32:21 +00:00
augustss
8d5a57ed93
Make it useable.
2002-06-05 06:31:51 +00:00
simonb
e36c88d696
Introduce CHIP_ACCESSTYPE which (if defined) is used as the type for
...
performing the accesses, regardless of the size of the data type
requested. Useful for chips which require fixed-width accesses to all
registers.
Cast arguments printed using %lx to u_long all the time, not just
sometimes.
Include a few extra files here so they don't need to be included by the
files that include this one.
2002-06-05 06:27:10 +00:00
simonb
d7a3af7811
ANSIfy.
2002-06-05 06:19:29 +00:00
simonb
6b6e4f4f60
Simplify include files that just include <mips/locore.h>.
2002-06-05 06:18:34 +00:00
simonb
8492ceb1ff
White space nits.
2002-06-05 06:09:28 +00:00
simonb
db50a069f8
Remove an ELF-related comment that isn't needed any more.
2002-06-05 06:02:52 +00:00
simonb
2100183aff
For the CP0 status register bit definitions- add the MX, PX and NMI bits
...
and rename TLB_SHUTDOWN and SOFT_RESET to TS and SR (the abbreviations
in the MIPS documentation).
XXX: this file really needs to be cleaned up one day...
2002-06-05 05:56:48 +00:00
chs
fffb1de109
get the units right when computing a blkno in the ENOSPC path
...
for allocations involving indirect blocks.
spotted by Trevin Beattie <trevin@xmission.com>.
2002-06-05 05:23:51 +00:00
mhitch
aa39671913
Setting chipmem_start and chipmem_end to the same value (size of chip
...
memory) greatly confuses the chip memory allocator and can prevent
some systems from even starting the kernel. Remove the initialization
of chipmem_start (it's initialized in locore.s).
2002-06-05 04:29:30 +00:00
chs
2d7a39f950
UBCify a bit in detrunc() that was missed. from PR 17143.
2002-06-05 02:07:48 +00:00
itojun
1eb402e813
be sure to use L3 MTU, not L2 MTU, when specified in spec (affects FDDI/ARCnet)
2002-06-05 01:10:54 +00:00
fredette
f4f0d8a310
Added files to support generic HP PA-RISC based machines. hp700-specific
...
files to follow.
2002-06-05 01:04:18 +00:00
uwe
cbb23a42ca
Fix phys->pci memory pass-through mapping.
...
While here, correct wording in a comment.
2002-06-05 00:23:01 +00:00
mjacob
787aeb4081
As per a discussion on tech-kern a while back- honor retries for
...
XS_SELTIMEOUT and XS_TIMEOUT errors- but only do so if the device exists
already.
Devices that are being probed won't be found via periph_lookup, so we can
use that to find if a device exists for the purposes of honoring retries.
2002-06-05 00:15:33 +00:00
itojun
fc6382d167
no need to set rmx_send/recvpipe.
2002-06-04 22:11:15 +00:00
ragge
e2718cabea
Do not disable interrupts until output queue is drained.
2002-06-04 21:58:55 +00:00
thorpej
04076e5943
Make this work with an ISO C preprocessor.
2002-06-04 21:44:40 +00:00
thorpej
d941ddfee0
Don't use -traditional-cpp if HAVE_GCC3.
2002-06-04 21:39:09 +00:00
martin
9ae19204d9
#if some tables and a helper function for debug output to make it
...
possible to compile this without ISDN debugging support.
Fixes PR kern/17161.
2002-06-04 19:51:18 +00:00
ragge
c691ddb3fb
Repair VAX8600 support, which had bit-rotten, probably not used since -98.
2002-06-04 19:04:32 +00:00
fvdl
e4eac0d964
Fix rdtsc and rdpmc inlines, and fixup rnd.h to do the right thing.
2002-06-04 17:52:46 +00:00
fvdl
9c71037485
Remove all i386 host bridges, as they don't apply. Remove pchb_rndattach
...
call for now (may be back later).
2002-06-04 17:51:30 +00:00
fvdl
99193cfa98
Woops, pass the correct argsize to ktrsyscall.
2002-06-04 15:45:05 +00:00
fvdl
ab19cd2899
Clear P_32 on native exec (from eeh in the sparc64 port).
2002-06-04 15:44:34 +00:00
ragge
2f48a39412
Need longer delay while waiting for mscp packets, otherwise it times out
...
on VAX8650.
2002-06-04 15:13:55 +00:00
eeh
4ff7000d80
Fix the fork trampoline to properly use the supplied tstate.
2002-06-04 15:04:08 +00:00
eeh
bf3b10f8aa
Prototype for probing noteless 32-bit emulation binaries.
2002-06-04 14:49:15 +00:00
eeh
abb7b6a965
Clear the P_32 flag when exec-ing native binaries.
2002-06-04 14:48:09 +00:00
eeh
587856dfdd
Make the code that matches boot devices much more flexible so it handles
...
device classes as well as funny names for matching. This should allow
us to properly recognize we're booted from a SCSI disk on a PCI controller.
2002-06-04 14:44:34 +00:00
isaki
c55e051ca1
Correct indent...
2002-06-04 14:02:32 +00:00
isaki
ef44888b70
Correct wrong comment about factor_denom.
...
In case of recording, it doesn't make coding space small.
2002-06-04 13:59:23 +00:00
fvdl
c029f886c8
Propagate P_32 flag on fork. Use correct trampoline for 32bit return.
2002-06-04 12:58:13 +00:00
fvdl
2c7bad720d
For 32bit execs, frob the stackframe to return via the old system call
...
return path.
2002-06-04 11:14:21 +00:00
fvdl
90c2a2ddc1
Fix up argument passing to ktr_syscall.
2002-06-04 11:12:18 +00:00
itojun
fb9b52398c
in mss clamping code, do not go past TCPOPT_EOL. enforce stricter
...
boundary checking. discussed on tech-net
2002-06-04 10:06:27 +00:00
itojun
b1654995d0
add a blank line
2002-06-04 10:00:24 +00:00
fvdl
96858fc8b7
AMD 8111 DMA support.
2002-06-04 08:58:20 +00:00
fvdl
b76668d455
Regen.
2002-06-04 08:57:48 +00:00
fvdl
c094984a55
Add AMD 8111 IDE id.
2002-06-04 08:53:47 +00:00
simonb
4a852aed2d
Add smbus@sbobio and rtc@smbus.
2002-06-04 08:35:05 +00:00
simonb
f4e42e7eb6
Add an extremely rough SMBus handler and RTC driver. This will be
...
cleaned up significantly when we have an MI SMBus framework, but at
least we can see the RTC on the swarm now.
2002-06-04 08:32:41 +00:00
simonb
349831dcf6
Use "cpu*" and not "cpu0" to attach all CPUs.
...
Add PROCFS and fix a whitespace nit while we're here.
2002-06-04 05:53:31 +00:00
simonb
a1572a6b96
Match all possible CPUs, but print warnings that the processors after
...
the first are offline due to the lack of SMP support in the kernel.
2002-06-04 05:49:26 +00:00
simonb
9cc65a96d0
3 ports are now using the reciprocal count divisor code now, move it
...
to <mips/cpu.h>, and add MIPS_SET_CI_RECIPRICAL and MIPS_COUNT_TO_MHZ
macros to use it.
2002-06-04 05:42:41 +00:00
briggs
ea51e618d6
Regen. for MPC8245 host bridge.
2002-06-03 19:53:37 +00:00
briggs
9e338db415
Add Motorola's MPC8245 (Kahlua II) host bridge.
2002-06-03 19:52:18 +00:00
fvdl
01fbe9c413
Drink the swapgs kool-aid.
...
Enable the use of syscall/sysret as the default system cal entry
point.
2002-06-03 18:23:16 +00:00
fvdl
619aaa1337
Set COPTS to -O by default.
2002-06-03 18:18:43 +00:00
eeh
30cc4dc796
Pass on the P_32 flag on fork and support fork syscall returns using
...
%g7 as the completion address.
2002-06-03 18:08:43 +00:00
bouyer
622fdb1fe6
Doh, the return of scsipi_lookup_periph() was meant to be assigned to
...
periph.
periph was used uninitialised, and caused a panic when the scsibus is reset
with siop or esiop, and possibly others HBA drivers.
2002-06-03 16:17:57 +00:00
simonb
4c67158999
Use "#ifdef __mips__" instead of "#ifdef mips"; shared libraries work
...
for kernels compiled with gcc 3.x.
2002-06-03 13:07:00 +00:00
itojun
ad4cab117d
whitespace at EOL
2002-06-03 02:09:37 +00:00
simonb
8b4906e391
Add prototypes for the 64-bit pagezero functions.
...
Bracket some function prototypes with #ifdef/#endif.
2002-06-03 01:51:05 +00:00
jonathan
9f02dbda6b
Add stanza to match and configure D-Link DFE-670 cards (a DL10022 variant).
...
Also print a little more info (including CIS tuples) when cards don't match,
making it a little easier to patch in entries.
2002-06-03 01:17:49 +00:00
jonathan
bf7d101fb6
Regen from pcmciadevs 1.171 after adding D-link DFE-670 ethernet card.
2002-06-03 01:15:15 +00:00