Commit Graph

130581 Commits

Author SHA1 Message Date
drochner 2578f8fc3c remove unused variable 2004-09-13 14:08:39 +00:00
drochner 96b589fc18 a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or
 config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
 on "locators.h"
2004-09-13 12:55:47 +00:00
drochner d758c65552 remove the ppbus_print_child() function which is pointless as used here 2004-09-13 12:49:58 +00:00
drochner 8fd40ab43d "gtpci" doesn't provide an ISA bus, so it shouldn't have an "isabus"
attribute
2004-09-13 12:36:18 +00:00
drochner b04ad75025 use locator passing versions of xxxsubmatch() and simplify the code by
using arithmetics instead of case statements
2004-09-13 12:34:00 +00:00
drochner a987cab220 remove macros which just hide cfdata internals
(and are used at one place only)
2004-09-13 12:22:52 +00:00
tron 428bbd1acc Const-ify last change properly. 2004-09-13 10:52:34 +00:00
tron c4bb165efd Add a few extra type casts to make C++ happy. This fixes build problems
in e.g. "libsupc++".
2004-09-13 10:33:43 +00:00
chs cbc396ce30 work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.
2004-09-13 09:39:40 +00:00
chs c2e0ac407b increase floppy limit to 3, the 2.0-branch autobuild overflows 2. 2004-09-13 08:32:19 +00:00
thorpej a30ebb7365 Avoid warnings about conversions from "unsigned long long" to "unsigned int"
and from "unsigned int" to "unsigned long long".
2004-09-13 01:46:39 +00:00
thorpej 10b55261a1 To quote C99 6.3.1.1:
If an int can represent all values of the original type, the value is
converted to an int; otherwise, it is converted to an unsigned int. These
are called the integer promotions. 48) All other types are unchanged by
the integer promotions.


So, cast an "unsigned short" to an "unsigned int" before right-shifting it
in order to avoid a lint warning.
2004-09-13 01:24:46 +00:00
thorpej 77f08a265c Move the 16/32-bit encode/decode to/from octet stream routines from
kern_uuid.c to sys/endian.h (where FreeBSD has them), and add 64-bit
variants.
2004-09-12 23:17:37 +00:00
thorpej e7b13cc120 Correct a comment. 2004-09-12 22:52:58 +00:00
dsl 64cdb08d62 Run the new copy of /etc/postinstall, not the one that happens to be on the
users system already.
Amongst other things this should ensure that MAKEDEV get updated.
(currently untested...)
2004-09-12 19:12:45 +00:00
he b119cd7a61 Enclose initialization of NCR_VARIANT_NCR53C400 in an ifdef on
NCR5380_USE_BUS_SPACE, to make this build again on acorn32, mac68k,
pc532, and sun3.  This is done under the assumption that it's
somewhat doubtful that any of those machines will encounter that
chip variant.

The acorn32 and mac68k parent drivers (csa and sbc) are listed in
ncr5380var.h as "easy to convert", but it's evident that noone have
stepped up to that challenge yet.  Sun3 and pc532 needs bus.h first,
which they apparently don't have at the moment.
2004-09-12 18:05:46 +00:00
jdolecek 9cc50db4c5 if passed sockaddr has family AF_UNSPEC, use socket family of the socket
the sockaddr is used for

this fixes bind() problem in Linux version of Theocracy, testing
by Thomas Klausner
2004-09-12 15:32:55 +00:00
wiz 4d38f47519 Correct macro usage. 2004-09-12 13:12:26 +00:00
wiz 6d8640263f Replace "<>&" with "\*[Lt]\*[Gt]\*[Am]". 2004-09-12 13:06:14 +00:00
wiz cd95d7a583 Fix typo. 2004-09-12 13:03:06 +00:00
jdolecek 8c73815634 remove the commented COMPAT_AOUT - it's not present in the other
kernel configs neither
2004-09-12 12:49:22 +00:00
jdolecek ca7fc04a65 use 'have_toupper' variable for awk toupper() function existence test, rather
than 'isgawk' - e.g. nawk has toupper() too
2004-09-12 11:24:15 +00:00
jdolecek f7ec3be35d use native syscallnames[] for SYSCALL_DEBUG 2004-09-12 11:09:32 +00:00
jdolecek 0e3af04f6a use native syscallnames[] array for 'aout' and 'aoutm68k' "emulations" - it's
only used for syscall name <-> number translations, and the native array
is guaranteed to be superset of the former 'aout' and 'aoutm68k' arrays

this re-adds 'aoutm68k' support, and replaces change made in 1.14

g/c #include's which are no longer needed (including aout_syscalls.c), and
also add some comments for the emulations[] array
2004-09-12 11:05:43 +00:00
jdolecek f83c14f534 only include emulation syscallnames with SYSCALL_DEBUG, it's not used otherwise 2004-09-12 10:38:25 +00:00
jdolecek c2ce3ec2d5 constify 2004-09-12 09:25:59 +00:00
yamt 2e1baea952 recognize _Bool. 2004-09-12 08:58:52 +00:00
dsl 4b313d03d3 Need %ah == 0 (not 0xff) in order to find the correct partition table entry
when simulating a key press in the non-interactive mbr code.
Fixes bug introduced in rev 1.10 - older versions worked because %ah
happened to be 0!
Fixes PR bin/26919
2004-09-12 08:41:47 +00:00
he 936dfb04a0 More removal of references to aoutm68k_syscalls.c, following that file's
removal.  Allows our m68k ports to build again.
2004-09-12 08:04:50 +00:00
dsl 9721e88965 Fix intuit_translated_geometry() calculation.
From Izumi Tsutsui in PR bin/26917
2004-09-12 07:46:24 +00:00
christos 82345479d5 Don't try to catch SIGSTOP... 2004-09-12 04:51:32 +00:00
yamt 1304a56139 m_split: restore a behaviour on M_PKTHDR, which was unintentionaly
changed when i added m_copyback_cow.
2004-09-11 19:55:19 +00:00
bouyer bf02dcb5ca If we're not going to handle a reset request because one if already pending,
decrease queue_freeze that we just increased (otherwise the queue stay
frozen after the reset).
Should fix kern/26873 and port-i386/26910.
2004-09-11 18:01:58 +00:00
dsl abc7a82e52 Count the output file size modulo 2^32 so that the check against the size
in the compressed file works for files greater than 4GB.
Fixes the fixable part of bin/26907
2004-09-11 11:07:44 +00:00
yamt 48f5be416a - calculate maxfilesize dynamically rather than having a static table.
- no longer limit filesize to INT32_MAX.  file lbns are 64-bit these days.
  anyway, on-disk format shouldn't be limited by the kernel internals.
2004-09-11 08:33:53 +00:00
christos 392086fb66 bind the scrolling keys by default. 2004-09-11 04:47:43 +00:00
ian fc5f5774ed Don't remove entries from this file, mark them as obsolete. 2004-09-11 01:19:14 +00:00
bouyer a480086121 pool_prime() the ncr53c9x_ecb pool with one element (this will cause one page
to be allocated anyway). scsipi can deal with resources shortage, but if this
pool goes down to 0 pages we can deadlock with the scsipi_xfer, vnode or
inode pools.
Also update a comment, despite resources accounting we can return
ATAPTER_RESOURCES_SHORTAGE here.
2004-09-10 23:44:29 +00:00
wiz be98c25ecf Fix typo in comment. 2004-09-10 22:22:20 +00:00
reinoud a4ea5c43d3 Add wsmux and keyboard RAW support for better X 2004-09-10 21:09:57 +00:00
reinoud 52a3b4ec4a Add USB-2 support to Alpha 2004-09-10 21:09:06 +00:00
he 72ed8803cf Remove references to aoutm68k_syscalls.c, following that file's removal. 2004-09-10 18:30:20 +00:00
nathanw 3a1db40022 Spelling in comment. 2004-09-10 15:27:10 +00:00
ian 70f35b6f77 Remove support for ALIASES in share/locale/ctype/Makefile, which
created symlinks in the filesystem.  Put the one existing alias
(zh_TW.BIG5) into the newer locale.alias file.
2004-09-10 15:12:51 +00:00
darrenr ec6c370522 Regen'd to add Sierra Wireless AirCard 580 2004-09-10 13:59:07 +00:00
darrenr b5e2dc9cd7 Add Sierra Wireless AirCard 580 (1xEV-DO) 2004-09-10 13:56:32 +00:00
wiz ac50d09659 Replace .ie with empty .el or without .el with .if; add some comments;
reduce if'd stuff in one case.
2004-09-10 12:59:03 +00:00
wiz 208ce14f93 Add two missing closing curly braces. Should fix atari release notes.
jdc@ ok.
2004-09-10 12:57:05 +00:00
hubertf 67902b53f9 Fix cut'n'past-o from last change 2004-09-10 11:49:28 +00:00
yamt 1c14eba60e vndstrategy/vndiodone:
don't call bgetvp/brelvp here.  they are not interrupt safe.
as we're doing something like direct i/o,
there's no point to call them anyway.
2004-09-10 10:00:33 +00:00