Commit Graph

132406 Commits

Author SHA1 Message Date
briggs
78776b6678 - Avoid looking for lost interrupts when recalculating interrupt priorities.
- Use atomic_setbits_ulong() for softintr().  Thanks to Tim Kelly for
  reminding me about atomic_*.
2004-12-17 05:42:30 +00:00
atatat
2971543eb5 Pass dynamic buffer pointer to display_string(), not static buffer
pointer.  Causes...misfunction if the kernel says the buffer needs to
be too much larger.
2004-12-17 05:03:03 +00:00
yamt
f4221aaaf6 revive spec vop_bwrite as it's needed for block devices.
PR/28684 from Jukka Salmi.
2004-12-17 03:31:20 +00:00
is
80dd3cea87 new world order 2004-12-16 21:51:04 +00:00
wiz
c54f10d8b4 Use more markup. Sort sections. 2004-12-16 17:29:55 +00:00
tron
bdfdbe0a88 Remove "tmpdir" in "cleandir" target. 2004-12-16 17:10:24 +00:00
darrenr
f314fbb0f1 Expand out an unused byte to give each NAT rule a protocol version field,
allowing rules to be set to match only ipv4/ipv6. And so ipnat must be updated
to actually set this field correctly but to keep things working for old
versions of ipnat (that will set this to 0), make the ioctl handler "update"
the 0 to a 4 to keep things working when people just upgrade kernels.  This
forces NAT rule matching to be limited to ipv4 only, here forward, fixing
kern/28662
2004-12-16 17:01:02 +00:00
darrenr
d7859a0415 add an extra sanity check for stepping through TCP header options 2004-12-16 16:37:52 +00:00
kleink
9508efa066 Internally rename getdevmajor(); noted by Geoff Wing. 2004-12-16 12:30:04 +00:00
tsutsui
25c45d8b5f Now ctrl_led is set in locore.s so remove it from machdep.c. 2004-12-16 12:14:51 +00:00
atatat
c64e485f42 Reorder ptyfs pseudo inode numbers so that 0 and 1 are unused, 2 is
the root of the file system, and slaves and masters alternate starting
at 3.  This means the inode numbers won't be really large until you
really allocate a really lot of ptys.
2004-12-16 05:30:18 +00:00
atatat
817b002242 Fix a whitespace nit and make this compile again. So there. 2004-12-16 04:37:25 +00:00
atatat
d91a4a5990 Put caching back on the pts major number. It's worth the code
overhead not to go look it up a zillion times when running fstat or ps
on a machine with a billion people logged in.  fstat mostly.
2004-12-16 04:33:03 +00:00
atatat
4e04a6f62d Get rid of the private getptsname() function and use getdevmajor()
instead.  It's really much better that way, you'll see.
2004-12-16 04:15:19 +00:00
atatat
16cc80a689 Bump libc minor to 124 2004-12-16 04:11:22 +00:00
christos
29fb313de0 document properly the return value and the errno settings. 2004-12-16 04:07:22 +00:00
christos
d15ecb98a9 knf fixes. 2004-12-16 04:07:01 +00:00
atatat
fe13117c07 Bump to minor 124 since getdevmajor(3) was added 2004-12-16 04:05:51 +00:00
atatat
2803cf768c Add a function called getdevmajor().
It tells you the major device number for whatever character or block
device you ask it.  This is sort of the inverse of devname(3) but not
quite, since it's backed by the kernel (sysctl's kern.drivers
information) and not a database cobbled together from the contents of
the filesystem.
2004-12-16 03:54:56 +00:00
heas
14089042f3 Fix a comment. 2004-12-16 03:13:28 +00:00
taca
f8c9502313 sendmail 8.13.2 released. 2004-12-16 02:20:17 +00:00
yamt
db6316d151 fix a merge botch. pointed by Pavel Cahyna. 2004-12-16 02:08:29 +00:00
heas
d7dac6089c Adjust the cscope target so that each source file on a separate line to avoid
overrunning cscope's read buffer and prefix files within lib/{kern,compat}
with the appropriate path.
2004-12-16 00:35:48 +00:00
heas
2239334429 Add entry for the Radeon Mobility T2. 2004-12-16 00:29:06 +00:00
tsutsui
b3da46dc10 - Use macro for CTRL_POWER port
- Store machine dependent CTRL_LED address in ctrl_led
- Fix LED debug functions to use stored MD values

Actually I only used these debug routines at the very early porting stage
before I got working kernel printf. Heh.

XXX: news1200 has not been tested for many years.
2004-12-15 17:30:46 +00:00
tsutsui
62724bfcae Add definitions for ports CTRL_POWER and CTRL_LED. 2004-12-15 17:22:11 +00:00
agc
bdb22860c3 Attempt to improve the English in one sentence. 2004-12-15 17:20:25 +00:00
wiz
513f71684b Use more markup. 2004-12-15 17:17:51 +00:00
wiz
2183efae3e Bump date for double -u. Update paths to use 2.0 as release name
instead of 1.5. New sentence, new line. Fix a typo.
2004-12-15 17:12:09 +00:00
wiz
c53d75fdd8 Grammar improvements. 2004-12-15 16:37:58 +00:00
wiz
dd4b29f9a3 Fix typo in comment. 2004-12-15 16:29:53 +00:00
wiz
151274c816 Drop trailing whitespace; punctuation nit. 2004-12-15 15:43:55 +00:00
wiz
1b174bc3bf New sentence, new line. Zero is no defined value, just a number. 2004-12-15 15:39:03 +00:00
wiz
d33e4d47b8 Drop trailing whitespace. 2004-12-15 15:37:01 +00:00
wiz
f4322a16e4 One entry for libpcap is enough. 2004-12-15 15:16:51 +00:00
jmc
a837ad61c2 Make sure miniroot subdir gets created 2004-12-15 15:03:14 +00:00
tsutsui
7c2dd89551 Backout previous because:
- we should fix genassym.sh to generate proper unsigned values rather than
  remove use of such values in each source
- 0xe0dc0000 is port to control LED so INTIOBASE1700_OFF is not proper name
- these LED debug code didn't work on news1200 and it should be fixed anyway
2004-12-15 14:03:52 +00:00
skrll
38fb01be3a Apply fixes from Charles:
- Fix how _rtld_relocate_nonplt_self deals with REL32 relocations.

- Change the assert so that it is correct for binutils 2.14 and 2.15.

There are still problems with the libraries generated with binutils 2.15,
but at least ld.elf_so doesn't crash.
2004-12-15 10:26:29 +00:00
hubertf
8e7f054fdb Fix typo, pointed out by César Catrián C. <ccatrian@eml.cc>
on tech-install@
2004-12-15 08:35:17 +00:00
mycroft
5ac91d4849 Remove some unnecessary (int32_t) casts that would cause us to screw up the
top bit in block addresses.

Also, change some daddr_t->int32_t casts (mostly as arguments to ufs_rw32(),
where they would get promoted anyway) to u_int32_t.
2004-12-15 07:11:51 +00:00
jmc
a00ad2295a Due to cpp always treating constants as signed and gas no longer accepting
X - -Y in any form, need to convert a subtract into + (-1 * val).
2004-12-15 05:21:36 +00:00
jmc
e2fee8d9b1 Convert -MMU_68040 into a form gas will take now (-- isn't valid) 2004-12-15 05:03:23 +00:00
jmc
11ea356c3f Convert expression for (0xe0dc0000-INTIOBASE1700) directly within a cpp
macro as otherwise gas gets handed an X - -Y expression and w 2.15 it won't
treat that as a valid expression
2004-12-15 04:56:13 +00:00
briggs
6aba8dfd50 * Don't try to clear the screen if we failed to map it.
* Don't try to call OF_open for /chaos@F0000000/control@B -- it hangs.
2004-12-15 04:52:05 +00:00
thorpej
7994b6f95e Don't perform checksums on loopback interfaces. They can be reenabled with
the net.inet.*.do_loopback_cksum sysctl.

Approved by: groo
2004-12-15 04:25:19 +00:00
jmc
051513394b Use correct locator name 2004-12-15 04:09:29 +00:00
jmc
60c10a987e If LKM deal w. locators different 2004-12-15 04:09:16 +00:00
jmc
0c600e6739 Add a missing include for locators.h 2004-12-15 03:56:20 +00:00
dyoung
ad16f31a1c In wi_stop, wait for transmit commands to complete. Extract
subroutine wi_txcmd_wait from wi_cmd and wi_stop.

This stops wi from griping, "wi0: command timed out, cmd=0x10b,
arg=0x0", when we down/up the interface.  Thanks to Pavel Cahyna
for reporting this bug.
2004-12-14 19:53:46 +00:00
tls
c1545077ff Terminate the domain on RB_HALT, not just on reboot. This avoids looping
around a cngetc() that will never return while "halted", which is rude,
and which also requires domain 0 to not just restart us, but kill us
first.  Suggestion from Michael Kukat (though this change is not the
same as the one he suggested).

Will cngetc() actually return something when running in domain 0 with a
VGA console?  I don't think it will; if it actually does, we should make
this behaviour depend on whether we're in domain 0 or some other domain.
2004-12-14 18:07:42 +00:00