Commit Graph

149987 Commits

Author SHA1 Message Date
dsl
7fd4677bc0 fix xtos's pasto 2006-08-27 07:09:04 +00:00
simonb
a6a46a588a Allow for building a crosstools version of gprof.
Disabled by default, can be enabled with MKCROSSGPROF=yes.
2006-08-27 07:04:00 +00:00
simonb
b4120542a5 Remove some unnecessary casts. 2006-08-27 06:58:55 +00:00
simonb
d4fec3837e Add -Wa,-fatal-warnings to AFLAGS. We want assembler warnings to be
fatal as well as compiler warnings.
Vague nods of agreement from Christos and Gimpy.
2006-08-27 06:49:27 +00:00
sekiya
221525774f XNS is no more; nuke reference to af_ns.c 2006-08-27 06:40:43 +00:00
tsutsui
35038ef574 Replace DELAY(9) macro with inline version which uses an asm statement
otherwise gcc4 will omit it completely on optimization.

XXX: some other mips ports have the same problem.
2006-08-27 06:33:28 +00:00
tsutsui
9a269899a0 Avoid unneeded sign extension. 2006-08-27 06:04:12 +00:00
christos
47966b67d0 This is why we should not copy buggy code... You get to fix bugs multiple
times: Wedges don't have partitions, so don't use MAKEDISKDEV
2006-08-27 05:37:40 +00:00
tsutsui
d26ffc68c4 Make badaddr_flag volatile to avoid unintended optimization by gcc4.
Now GENERIC compiled by gcc4 works on NWS-3470D.

XXX: Is this gcc4 optimization bug, or volitile is required in this case?
2006-08-27 05:25:47 +00:00
christos
ecdff16f80 - use dk_lookup instead of our home-spun version.
- allow raid to be configured in a wedge
- allow wedges to be configured in a raid
- add autoconfiguration of wedges in a raid
2006-08-27 05:07:12 +00:00
matt
da01e9eb57 When going from -m {evb,sb}mips64-e[bl] to MACHINE,
make sure to remove 64-e[bl] so we wind up with just evbmips or sbmips.
2006-08-27 05:05:05 +00:00
christos
b7a6606cb6 Add horrible hack for wedges. Why is the block device of the wedges in use? 2006-08-27 05:00:00 +00:00
christos
1a789da3ec Use dk_lookup. 2006-08-27 04:58:40 +00:00
christos
9472fb0cb6 raid and ccd now use dk_lookup. 2006-08-27 04:58:06 +00:00
tsutsui
037c731759 Put .rodata.str1.4 and .rodata.cst4 sections by gcc4 into .rodata section.
Fixes malloc(9) failure at early boot on newsmips.
2006-08-27 04:48:44 +00:00
christos
bcecf5d797 Fix previous thinko. 2006-08-27 04:31:55 +00:00
christos
fddb23d3e2 Fix reversed test 2006-08-27 04:16:33 +00:00
christos
5bb209df43 Wedges don't have partitions. 2006-08-27 04:11:45 +00:00
christos
52bdc9cda3 need getdiskinfo. 2006-08-27 01:37:28 +00:00
rpaulo
955d5b2d54 fix conflicts 2006-08-27 00:47:08 +00:00
rpaulo
a41b242909 postfix 2.3.3 2006-08-27 00:37:46 +00:00
bjh21
eb74489b57 When receiving a SCSI message, it's important not to deassert ACK on the last
byte until we've worked out what to do with the message, since if we plan
to reply to it we have to assert ATN before deasserting ACK.  Implement this.
2006-08-26 23:55:22 +00:00
bjh21
286856d098 QAS REQUEST is a one-byte message. Make MSG_IS1BYTE recognise this. 2006-08-26 23:32:55 +00:00
christos
18b025cbc8 PR/34286: Gene ENonymous: Increase YYSTACKSIZE so that we can handle huge
pools.
2006-08-26 23:20:56 +00:00
christos
568f6f6f30 Only use __RCSID if we have it. 2006-08-26 23:17:43 +00:00
christos
c635841ee9 add man pages for wcsdup, wcscasecmp, wcsncasecmp 2006-08-26 22:51:41 +00:00
christos
d37c189a03 PR/34238: Aleksey Cheusov: man pages for wcsdup, wcscasecmp and wcsncasecmp
functions
2006-08-26 22:48:50 +00:00
christos
a248088000 Add copyright notices. 2006-08-26 22:45:52 +00:00
christos
7dc9d522c9 add efun.3 2006-08-26 22:38:42 +00:00
bjh21
604c7b6558 Use standard MSG_IS1BYTE, MSG_IS2BYTE, and MSG_ISEXTENDED macros rather
than rolling our own.
2006-08-26 22:37:07 +00:00
bjh21
c981542cbe Use the 'z' size modifier when printfing size_t, so that GCC doesn't complain
on systems were size_t isn't unsigned int.
2006-08-26 22:33:18 +00:00
christos
03eff0d591 Fix non-native build. 2006-08-26 22:19:03 +00:00
christos
3f4976a941 undo previous. I'll do it differently. 2006-08-26 22:17:48 +00:00
christos
d81e58017f compile efun.c too. 2006-08-26 22:15:14 +00:00
christos
623c0a861f Don't include <util.h> if we are not NetBSD. Other OS's don't have it. 2006-08-26 22:13:00 +00:00
bjh21
2cd3c4f0e6 Move the sgimips "sbic" driver from arch/sgimips/hpc/sbic.c to
dev/ic/wd33c93.c.  This may not be the best WD33C93 driver we've
got, but it's the most recently worked on and probably the most
portable, so it seems like a good basis for further work (and in
particular an acorn26 driver for the Acorn SCSI card).  There's
no functional change in this commit, and sgimips kernels still
compile.
2006-08-26 22:06:36 +00:00
christos
5a70d8a008 - Deal with wedges and the new disk geometry structures, instead of using
struct disklabel.

Functionality lost:
  1. struct disklabel used to be updated to contain bsize, fsize, cpg.
     This information was used to locate the alternative superblock in
     the filesystem if the primary superblock was corrupted. We need
     to find a new place to store this information if we need this
     functionality.
  2. On vax SMD drives that contained bad sector lists, the newfs program
     knew how to get the offset and skip to the correct location in order
     to place the label.
2006-08-26 22:03:47 +00:00
christos
09e8908e10 - make preen recognize wedges and insert their parent disks in the disk list
so that we don't run multiple fsck's on the same spindle at the same time!
- Add some partition getting utilities that are wedge aware (soon to be able
  to use the native geometry ioctl), so that we can fsck wedges.
2006-08-26 21:54:05 +00:00
christos
f9cd3d1167 more version lossage 2006-08-26 20:37:50 +00:00
christos
cb5c9c5f42 PR/34287: Gene ENonymous: ipf/ippool enabled kernel fails build.sh build due to
use of "version" variable name
2006-08-26 20:36:17 +00:00
christos
e0df1e4c51 PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
matt
e631d4e975 Note netccitt and netns removal.
Note addition of mips64 toolchain.
2006-08-26 20:25:28 +00:00
christos
c762f34e0e PR/34284: Gene ENonymous: when "ippool -F" is invoked, error is
"ioctl(SIOCLOOKUPFLUSH): Bad address"
2006-08-26 20:25:23 +00:00
matt
6d37d896d6 Increase SYMTAB_SPACE by 10000 to 210000. MIPS64 needs a slighter large
symbol table.
2006-08-26 20:20:38 +00:00
matt
9ffa81c4ee Use PRIx64 instead of llx 2006-08-26 20:19:19 +00:00
matt
6ed3910f9e Use vaddr_t for virtual addresses. Don't cast pointers with int or
unsigned, use intptr_t or uintptr_t as appropriate.
2006-08-26 20:18:36 +00:00
matt
140eda393d Use vaddr_t for virtual addresses, not u_int32_t. 2006-08-26 20:15:28 +00:00
matt
921e6abd0a Use PRIx64 instead of llx 2006-08-26 20:14:51 +00:00
matt
410709f386 If we are _LP64, we must be mips64, not mips32. 2006-08-26 20:13:02 +00:00
ad
55154c9edc Add x86_sfence(), x86_mfence(). 2006-08-26 20:08:07 +00:00