Commit Graph

113697 Commits

Author SHA1 Message Date
thorpej 9843692f24 Correct interrupt mapping when a device with a PCI-PCI bridge is
plugged into the PCI-X slot.
2003-05-31 22:35:04 +00:00
thorpej 17cf73bbb5 Add <bsd.gcc.mk>. 2003-05-31 20:34:09 +00:00
thorpej 000836e000 If EXTERNAL_TOOLCHAIN is defined, allow the compiler to define the
location of crt{begin,end}{,S}.o and libgcc.a.  Encapsulate all of
this logic into the new bsd.gcc.mk, and use it in bsd.prog.mk and
bsd.lib.mk.
2003-05-31 20:33:15 +00:00
thorpej c2048dc2a3 Don't need sysident.h here anymore; crti provides it. 2003-05-31 19:41:24 +00:00
dyoung 5bcf25f890 Picky cosmetic change: remove leading space. 2003-05-31 19:38:08 +00:00
dyoung 148258d56c Don't call ieee80211_chan2ieee, we don't have it, yet. 2003-05-31 19:37:15 +00:00
uwe 70161de941 Correct coprocessor registers base.
Feh, manuals that lie...
2003-05-31 18:25:40 +00:00
hannken ff0f991625 Add symtab to kernel image using dbsym(8).
Add /dev/ksyms.
2003-05-31 12:00:59 +00:00
bjh21 319bfc9055 Mention places where _SC_* values are hard-coded, so people who might
change them will know.
2003-05-31 11:50:15 +00:00
bjh21 7adc389b05 Burn the namespace heretic!
Alternatively, don't include <unistd.h>, but hard-code the value of
_SC_PAGESIZE.  This avoids polluting the application's namespace, and
matches existing practice (CLK_TCK in <time.h>).
2003-05-31 11:49:26 +00:00
ichiro c5980a60b3 cosmetic change & some bugfix 2003-05-31 11:27:01 +00:00
dsl d800ee579a No need to #include "bsddisklabel.c" into md.c, add to Makefile instead. 2003-05-31 08:09:59 +00:00
ichiro 972193a992 some bug fix 2003-05-31 06:24:18 +00:00
kristerw 840aee882a Use __asm instead of asm, to keep lint happy. 2003-05-31 03:05:45 +00:00
kristerw 28f5335a9f Fix LINTSTUB comments. 2003-05-31 01:40:05 +00:00
ichiro 081a8ed553 led support for IXDP425/ZAO425 2003-05-31 01:16:31 +00:00
ichiro 0c9cb92a41 bug fix 2003-05-31 00:58:40 +00:00
kristerw 2794d56b90 Use __asm instead of asm, to make lint happy. 2003-05-31 00:38:05 +00:00
kristerw 19827361f5 Add some LINTSTUB comments. 2003-05-31 00:36:46 +00:00
petrov b6d4c1c66b wsmouse for ms@tty. 2003-05-30 23:34:06 +00:00
salo 9a8fb24f43 Add ETIME translation. 2003-05-30 23:24:23 +00:00
wiz 26c0f55f7f Add translation for 92 (ETIME). 2003-05-30 23:10:42 +00:00
kristerw f4b0e187e9 Fix some lint warnings. 2003-05-30 23:08:12 +00:00
uwe a19b05b597 Oops, do not disable coprocessor in igsfb_init_ext. 2003-05-30 22:41:52 +00:00
kristerw 7e5434fe39 Remove stuff that are not needed any longer. 2003-05-30 22:33:58 +00:00
dsl b62cbc21e9 Make all architectures (except amiga and mac68k) use the MI make_bsd_partitions.
This does change the default size of /, but I'm going to rewrite
make_bsd_partitions next to make it less user-hostile.
(I'm not sure adding in 2 * ram is actually useful! Especially size it left
/usr with a -ve size on all my test installs with 256MB ram and 1GB disk)
Make bootsel code delete menu names if the partition is unused.
Use raw device for cdrom access (I've a kernel that doesn't report an invalid
label so /dev/cd0a dosn't work).
2003-05-30 22:17:00 +00:00
kleink aac347de72 Include <sys/unistd.h> for the definition of _SC_PAGESIZE, which is
required for run-time retrieval of SHMLBA.  While this does make visible
additional symbols which are not in the underscore-prefixed
implementation-reserved namespace, its impact should be negligible (and
most applications supposedly include <unistd.h> as well), and there is
prior art to that.  Fixes PR kern/19135 from Chris Demetriou.
2003-05-30 20:31:34 +00:00
jdolecek 0208373f7d add ETIME translation 2003-05-30 19:35:34 +00:00
jdolecek c01f677379 ETIME is #92, not #91 2003-05-30 19:33:58 +00:00
thorpej 22791b9867 Add a CPUFLAGS variable which can be set by the user's mk.conf or in
the environment:

CPUFLAGS        Additional flags to the compiler/assembler to select
                CPU instruction set options, CPU tuning options, etc.

Since CPUFLAGS is not implicitly set by any part of the make infrastructure,
it is safe to set in mk.conf, unlike COPTS or DBG.
2003-05-30 18:43:23 +00:00
thorpej 6955d47610 Make big-endian mode a little closer to working on the BRH. I can talk
to both the EEPROM *and* the PHY on the Ethernet interface now, at least,
though it is still not completely working.

Many thanks to Stephen Goadhouse at ADI for some hints.
2003-05-30 18:38:02 +00:00
kristerw b86c323d39 Simplify handling of memory allocation, and make sure all return values
from malloc etc. are handled.

This removes the old behavior to retry the operation with a less memory-
consuming method in case malloc failed (this mechanism has never really
worked, and is hard to test.  Besides, it is less useful now than it was
20 years ago when the code was written...)
2003-05-30 18:14:13 +00:00
dsl b0b2a88fe2 KNF 2003-05-30 17:34:31 +00:00
dsl 028c9f0a91 KNF 2003-05-30 17:24:13 +00:00
christos 4e9f5413f5 Add RTLD_SELF, RTLD_NEXT, RTLD_DEFAULT, from FreeBSD 2003-05-30 15:44:03 +00:00
christos 683092605c Add RTLD_FIRST, RTLD_NEXT, RTLD_DEFAULT, from FreeBSD 2003-05-30 15:43:33 +00:00
dsl 127236bc6a KNF 2003-05-30 13:58:25 +00:00
perry cd2741bcae Re-remove admin, port-arm32.
They were removed intentionally the first time.
2003-05-30 13:42:18 +00:00
christos 0eba3d0e7c Add regression test for cvt nodes in ?: expression 2003-05-30 13:39:39 +00:00
christos fb6b32b11b Back out debugging Makefile. 2003-05-30 13:38:09 +00:00
christos e3071c679b PR/21706: Krister Walfridsson: CVT nodes not handled in ?: expressions. 2003-05-30 13:37:49 +00:00
dsl 291768820b KNF 2003-05-30 13:34:58 +00:00
dsl ad480b2e44 KNF 2003-05-30 13:23:26 +00:00
dsl 4948e51933 layout changes 2003-05-30 13:13:30 +00:00
simonb f3c9a91eee Descend into the stdio directory (thanks Nick!). 2003-05-30 12:49:57 +00:00
simonb 544cefa2dd Add a regression test for PR lib/21691. 2003-05-30 12:46:05 +00:00
kleink 0c9499738e Add LC_MESSAGES to the listing of categories; fixes PR misc/19829 from
FUKAUMI Naoki.
2003-05-30 12:11:48 +00:00
dsl 4b8e98ee2a Further collapsing of MD code:
- make_bsd_partitions() correctly handles PART_BOOT
- use bsddisklabel.c for pc532 and sgimips (this does change the default size
  for the root partition, as it no longer includes twice the memory size).
- Change way ports define disk_names[] (in particular this lets me add "vnd"
  for testing), also ensures all ports pick up new drivers.
  I've make most ports use the default "wd", "sd", "ld".
  Abort the search for disk units if we get ENOENT (ie no /dev entry) to
  speed up the case where we are looking for a disk type that isn't
  supprted by the port.
  (it is possible we could just check all possible disks on all ports...)
2003-05-30 11:56:23 +00:00
scw 58c736d46f In dmio_read(), make sure to set DMIO_STATE_READ_WAIT in ds->ds_flags
before going to sleep.
2003-05-30 11:37:47 +00:00
kleink 9adea725c5 {u,}intptr_t are ints again. 2003-05-30 11:07:38 +00:00