Commit Graph

89603 Commits

Author SHA1 Message Date
jdolecek
9b14b25d0d Apply fixes from Chris Pockele (followup to misc/13937):
- keycode 5 [4 '] defined wrong
- keycode 6 [5 (] defined wrong
- definition for keycode 29 (Control_L).  For some reason,
  Ctrl-Alt-Fn console switching would not work with this included.
  Without it, the console switching works fine.
- keycode 41 [_ _] not defined, wrong behaviour
2001-12-16 20:48:38 +00:00
jdolecek
a7f1eca681 Document EXEC_ELF_CATCHALL. Addresses kern/14409 by Matthew Green. 2001-12-16 20:44:11 +00:00
scw
18449b952b Switch all OBJECT_FMT=elf m68k ports to new-toolchain. 2001-12-16 20:31:09 +00:00
mbw
e9356472cd Added a page describing how to set up HP-UX emulation on m68k-based systems. 2001-12-16 19:40:50 +00:00
thorpej
e93b1005a7 Apply rev 1.4 of gnu/dist/gcc/config/sh/sh.h:
fix REGISTER_MOVE_COST bug (gcc original rev. 1.43):

> *sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS
2001-12-16 18:56:45 +00:00
thorpej
3274936f9b Apply rev 1.3 of gnu/dist/gcc/config/sh/sh.h (fix ASM_OUTPUT_REG_PUSH
and ASM_OUTPUT_REG_POP):

fix two bugs:
	- cc1 dumps core when "-pg" is used
	- gas produces a syntax error
2001-12-16 18:54:10 +00:00
thorpej
d63c80c2c6 Apply rev. 1.2 of gnu/dist/gcc/config/sh/sh.h:
set DWARF_LINE_MIN_INSTR_LENGTH to 2 because the length of instruction
is fixed to 16bits.
2001-12-16 18:50:16 +00:00
thorpej
c8a285e813 Apply rev. 1.7 of gnu/dist/config/sh/sh.c:
apply gcc original rev. 1.59:

 > * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
 > sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
 > const0_rtx.
2001-12-16 18:47:47 +00:00
thorpej
ff7287ad08 Apply change from rev 1.5 of gnu/dist/gcc/config/sh.c:
fix output_ieee_ccmpeq() bug:

- 2nd argument is not rtx but rtx *
- return value of output_ieee_ccmpeq is not void but char *
2001-12-16 18:38:19 +00:00
jdolecek
563ebe0896 our NTFS seems to read Windows 2000 NTFS just fine 2001-12-16 18:29:03 +00:00
scw
f87b859f0d After a discussion with Richard Henderson (rth at redhat dot com), add
the patch I posted to tech-toolchain@netbsd.org as a workaround for the
GOT bug whereby the callee-saved register %a5 can be trashed in certain
optimised -fPIC functions.

This may yet need to be fixed a different way, pending input from
Andreas Schwab on his change in revison 1.33 of this file in the
FSF source...

In the meantime, I've built and installed several NetBSD shared libraries
(including libc) with my change and found no problems.
2001-12-16 18:28:15 +00:00
thorpej
3bce84cf10 Consider __NO_LEADING_UNDERSCORES__ provided by the new ELF toolchain. 2001-12-16 18:11:12 +00:00
thorpej
037cacf7e2 Define __NO_LEADING_UNDERSCORES__, since this sh-elf toolchain doesn't
use them.
2001-12-16 18:09:46 +00:00
soren
3faa83dcb4 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-16 17:53:17 +00:00
thorpej
75acdbe31a Undo a local change inherited from our local binutils 2.9 that
is not needed in binutils 2.11.
2001-12-16 17:50:56 +00:00
bjh21
d7be12c439 Report a display type of WSDISPLAY_TYPE_VIDC, since we'll probably share
interfaces with the VIDC20 drivers in acorn32 eventually.
2001-12-16 15:15:44 +00:00
ichiro
0a1465a39c handle vendor and product lookup with common routine 2001-12-16 15:11:19 +00:00
soren
dafad2c49b Obsoleted by @@@'s kernel makefile work. 2001-12-16 14:02:46 +00:00
martin
729b826ecd Fix packet accounting (now netstat -i and netstat -ib show reasonable
values).

Implement a secondary connection-reestablishement mode, which is only
entered after (1) we have successfully transfered payload data over this
connection and (2) if initial retries did not reestablish a session.
In this mode we retry (infrequently) forever, until adminstrator stops
us (by "ifconfig ppppoe0 down"). XXX - need to display this mode in
pppoectl.

It is now possible to pull the DSL modems plug for say 15 minutes, plug
it back in again and just wait. The connection will be reestablished within
three minutes.
2001-12-16 11:40:52 +00:00
takemura
3c28255e30 BUGFIX: it gets bus error on Vr4122 and Vr4131 attempting to access
pull-up/pull-down registers if you turn on verbose output.
And moved softc structure definition from vrgiuvar.h to vrgiu.c, which was
needless in other parts of kernel.
2001-12-16 09:58:34 +00:00
thorpej
240ebfc364 * Move The Alpha R(RELATIVE) handling into an Alpha-specific code block,
thus isolating the "iffy hueristic" from the rest of the relocation code.
* In the "iffy hueristic", use _GOT_END_, not _DYNAMIC.
* Include the addend in Alpha R(RELATIVE) relocations.
2001-12-16 08:23:25 +00:00
thorpej
f6e3c2a3da Make this compile. Still needs work. 2001-12-16 07:26:22 +00:00
thorpej
583334b6ca Avoid infinite #include recursion. 2001-12-16 07:19:42 +00:00
ichiro
10c8cdf485 missing Misc Attribute of PCMCIA functions
FUJITSU CF Ether ITCFJ182A supported "Power down"
Power down supply current are 20mA
2001-12-16 06:07:50 +00:00
ichiro
ff638ce5fd support FUJITSU CF EthernetCard
ITCFJ181A

mbe0 at pcmcia1 function 0: Fujitsu J182A Compact Flash Ethernet
mbe0: Ethernet address 00:00:0e:c5:01:ea
2001-12-16 05:44:33 +00:00
ichiro
a4ad95c757 regen 2001-12-16 05:43:16 +00:00
ichiro
dc739ee7b9 add FUJITSU CF EthernetCard
ITCFJ181A
2001-12-16 05:42:46 +00:00
enami
d3efa85632 G/C no longer used saved credential for file i/o. 2001-12-16 04:51:34 +00:00
thorpej
c17876b1d2 Use the elf64alpha_nbsd linker emulation. 2001-12-16 04:26:17 +00:00
tsutsui
7d563fd40e malloc() + memset() -> malloc() with M_ZERO flag 2001-12-16 04:17:02 +00:00
thorpej
7a362db4f3 After discussing the entry point issue w/ rth@redhat.com, add an
elf64alpha_nbsd linker emulation that sets the entry point correctly
for NetBSD.
2001-12-16 04:06:51 +00:00
thorpej
e3e5021be2 We need the versions of ASM_DECLARE_FUNCTION_NAME and
ASM_DECLARE_FUNCTION_SIZE from <alpha/alpha.h>, but <netbsd.h>
re-defines them.  So, re-define them again here to what
we need.
2001-12-16 04:02:48 +00:00
tsutsui
20d126a5b4 Fix comments for ref-count of PT pages. 2001-12-16 03:53:21 +00:00
tsutsui
f7312c690f cosmetics (typo, KNF etc.) 2001-12-16 03:41:57 +00:00
thorpej
72a263b8f7 Catch up with other Alpha-ELF changes. This will get cleaned up
even more somtime soon.
2001-12-16 03:09:19 +00:00
thorpej
80ed7d6a42 Clean up a bunch of the ELF support (looks like there was some sort
of merge error), and make the function/object type/size macros work
with the Alpha.
2001-12-16 03:07:59 +00:00
gmcgarry
ac1f9fcc8c When attaching as console, unmap the device on failure. 2001-12-16 02:02:05 +00:00
martin
c8006a73d3 Remove some spurious (debug?) output. 2001-12-16 00:55:40 +00:00
bjh21
b17e1abb0f Use the MI DP83905 support for media selection on those cards that use it. 2001-12-16 00:23:59 +00:00
bjh21
7f32875295 if_media support for the DP83905 AT/LANTIC (a souped-up DP8390). 2001-12-16 00:22:43 +00:00
bjh21
2ca506c0ca if_ne_pbus needs the "mx98905" attribute. 2001-12-15 23:48:38 +00:00
fredette
d3a28a576e Rather than using nlist(3), use a magic structure with a magic
number that installboot(8) can search for.  Suggested by cgd@netbsd.org.
2001-12-15 23:09:50 +00:00
fredette
c9e7d7b7ba On the sun2, added support for loading larger kernels,
and pull objects from the libgcc in DESTDIR.
2001-12-15 23:02:34 +00:00
bjh21
7bc474a92b mod() was unused. g/c it. New code should use abs() anyway. 2001-12-15 22:41:44 +00:00
fredette
175ee0ab88 Fixed a bug where we weren't checking for required or
forbidden locators correctly, especially physical addresses.
2001-12-15 22:39:17 +00:00
fredette
9976af904a Remove some devices that aren't needed in INSTALL or RAMDISK
kernels, reenable NFS v3, and enable kernfs in INSTALL.
2001-12-15 22:22:13 +00:00
bjh21
eefdf030c9 Simplify the pixel-clock-rate-setting code, so it always works out the
parameters from first principles rather than using a static table for some
rates.  This makes it work correctly on ARM7500, for which the table was
bogus (ARM7500 has a different refclk from VIDC20).
2001-12-15 22:21:46 +00:00
fredette
74e4ac42de Be sure to mark in the prototype attach args
that a physical address is required for each
device on this bus.
2001-12-15 22:13:11 +00:00
jhawk
521fae39bb .Nm punct => .Nm "" punct
minor markup fixes.
2001-12-15 21:21:00 +00:00
martin
7801c694b0 Enable additional error messages for the discovery phase, clarify some
others. Change one timeout slightly - we need to make all others user
settable.
2001-12-15 20:43:31 +00:00