lukem
3b473ec283
xerrx() needs to output a trailing newline as well
2002-08-27 10:37:33 +00:00
uwe
082c4cf032
Make sun ports use common keyboard/firm events related includes
...
from dev/sun.
2002-08-27 09:47:41 +00:00
lukem
fb7bc8541e
arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
...
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
2002-08-27 08:53:14 +00:00
itojun
62f36ff8e2
allocate 64K recieve buffer for DNS responses.
2002-08-27 08:50:49 +00:00
cjs
546cf4d2b0
Add exclude tag to dumpdates so that diffs do not show up in the daily security
...
report. This file is expected to change daily, and this is not a security
problem. (Also, the most recent dumps are already shown in the daily report.)
2002-08-27 02:01:37 +00:00
itojun
dcbc05cef8
warn if multiple addresses are returned from DNS, like traceroute(8) does.
...
sync w/kame
2002-08-27 00:34:52 +00:00
grant
da7c095365
remove setting root's shell, as this was addressed in install/17676.
2002-08-27 00:22:53 +00:00
thorpej
d8e650d53a
* The Netgear GA-621 is a 64-bit card, so add it to the 64-bit
...
quirk table.
* We want to hardwire BMSR_EXTSTAT, not BMSR_EXTCAP, when reading
the TBI BMSR.
* Fetch the GPIO bits from the GPIOR register after an auto-load,
rather than reading from the EEPROM directly.
2002-08-26 22:52:02 +00:00
fredb
750d298cb0
Follow AMD's recommendations for programming the uncachable/write-combine
...
bits of the K6 cache-control-register: disable the cache; flush the cache;
set the bits; re-enable the cache (all much like programming the pentium
mtrr's). See reference posted to tech-kern; also review there by thorpej.
2002-08-26 22:36:24 +00:00
uwe
ee45afec36
Add no strings quirk for Neodio ND5010.
2002-08-26 21:34:28 +00:00
christos
23c8380404
save 4 system calls by using AT_{R,E}{U,G}ID.
2002-08-26 21:09:55 +00:00
christos
9f2867a05c
- pass struct proc to copyargs
...
- rename aux vector entries AT_{R,E}{U,G}ID from AT_SYUN_{R,}P{U,G}ID
- update new aux vector size.
2002-08-26 21:09:02 +00:00
christos
fea7af3bbe
- Implement passing AT_{R,E}{U,G}ID in the elf aux vector.
...
- Pass struct proc to copyargs
- fix svr4_copyargs functions
2002-08-26 21:07:38 +00:00
christos
830c5c171a
Implement passing AT_{E,R}{U,G}ID in the elf aux vector, like solaris.
...
- pass struct proc to copyargs.
- eliminate svr4_copyargs, since it is the same as ours now.
2002-08-26 21:05:59 +00:00
uwe
6504ec382d
Regen for Neodio/ND5010.
2002-08-26 20:25:06 +00:00
uwe
fd02e2f63b
Add Neodio and their nd5010 multi-format flash controller.
2002-08-26 20:18:56 +00:00
abs
9f39802939
Append ' - see rc.conf(5)' to unset variable warning:
...
/etc/rc.d/fu: WARNING: $fu is not set properly - see rc.conf(5).
Add a note to rc.conf that third party packages may test for additional
variables.
2002-08-26 17:46:57 +00:00
ad
37fdff48de
Re-word a sentence.
2002-08-26 17:05:43 +00:00
ad
7a2589c16e
- Must now get some info from the kernel, not the board.
...
- Don't try to do things that the firmware can't handle.
2002-08-26 17:04:17 +00:00
ad
35c2b89513
Add an ioctl to retrieve basic controller information.
2002-08-26 17:02:15 +00:00
martin
d797b29d85
Give arrays in the softc indexed by channel number the right size
...
and define a symbolic name for the number of channels.
2002-08-26 17:00:42 +00:00
ad
fba11cbab8
Handle aincent firmware as found on EISA/MCA boards. Untested.
2002-08-26 15:27:12 +00:00
itojun
c7b00b4ce4
pass proc * to in6_pcbsetport. PR 18073
2002-08-26 14:25:00 +00:00
itojun
d4a64790e3
remove unused/unsupported AI_xx. notified by PR 18072
2002-08-26 13:38:19 +00:00
chris
1843317ea6
add byte_swap.h for cats.
2002-08-26 13:37:46 +00:00
chris
e660a1b7e6
Add byte_swap.h for cats, this creates the /usr/include/machine/byte_swap.h
2002-08-26 13:35:16 +00:00
augustss
731d1eccf2
Get rid of sysctl for setting BCM2033 firmware path. It doesn't work
...
for ports that don't include files.usb, and it's also not done quite
the way it should.
2002-08-26 13:09:39 +00:00
scw
f7982b5823
Another item on the TODO list:
...
Add support for cpus where sizeof(register_t) is not necessarily
the same as sizeof(void *). This is the case on SH5 using the
ILP32 ABI. On this cpu db_expr_t is, necessarily, 64-bits.
Unfortunately, in ILP32 mode, ddb will only display the low 32-bits
of any expression, including registers...
2002-08-26 11:35:22 +00:00
scw
a82718b34d
Casting from a pointer, to a db_expr_t, has to go via an intptr_t.
...
(db_expr_t == int64_t on sh5, for example).
2002-08-26 11:34:27 +00:00
scw
41e5042829
Pointers must be cast to {,u}intptr_t before they can be cast to register_t,
...
at least on sh5, where sizeof(register_t) != sizeof(void *) in ILP32 mode.
2002-08-26 11:26:09 +00:00
yamt
d3538cc488
sync partly with tcpdump.org. ok'ed by itojun
...
patches #454 from yamt@mwd.biglobe.ne.jp
- avoid optimization involving subtract operations
- correct optimization of bitwise operations
TODO: re-introduce subtract optimization
2002-08-26 11:21:18 +00:00
scw
2ccf86d7da
Re-sync with current reality.
...
Add options DDB.
Add debug makeoptions.
G/C some unnecessary stuff.
2002-08-26 11:16:02 +00:00
scw
ce2ec9e63e
Add support for the SMsC LAN83C183 PHY, which actually probes as a
...
Seeq 84220.
Also add an 84220-specific work-around for some braindamage (at least
in the PHY I'm working with) where the PHY always comes out of reset
isolated, regardless of the previous state of the BMCR_ISO bit. This
happens even if the PHY has address zero, which is contrary to the
part's datasheet...
The work-around is only applied if we notice BMCR_ISO is set when it
should be clear following reset. The fix is to wait 30mS and clear
it manually. (The change doesn't stick if it's cleared sooner than this)
2002-08-26 11:13:13 +00:00
scw
9bcd736b9d
Attach sm(4) at superio, instead of the previous isa bus attachment.
...
The latter's probe doesn't pick up the ethernet controller, and the
attach function needs to set MIIF_NOISOLATE.
We attach it at superio mainly because they share the same region of
address space, and the ethernet controller's interrupt is routed
through the superio.
2002-08-26 11:04:44 +00:00
scw
fe7de4db3f
Need <machine/db_machdep.h>
2002-08-26 10:58:38 +00:00
scw
a1fda8f587
Call ddb_init() right after initialising the console.
...
We have no symbols at this time (due to lack of a bootloader)
so just hardcode symbol length to zero for now.
2002-08-26 10:55:39 +00:00
scw
0eb22d79b4
Try to preserve more bits in the status register (e.g. trace/watch).
...
Bump the (currently hardcoded) size of onboard RAM to match the Cayman.
2002-08-26 10:52:13 +00:00
scw
f6e3925495
Set the appropriate Timer Start bit after setting it all up.
2002-08-26 10:48:17 +00:00
scw
aba39b410c
Don't forget to initialise 'sc' on entry to the attach function ...
2002-08-26 10:45:55 +00:00
scw
a1ed033a09
Hardcode FEMI base and top addresses, at least until I figure out
...
how to interpet VCR.MB_TOP and VCR.MB_BOT in some reasonable way.
2002-08-26 10:43:44 +00:00
scw
3ad3b8c856
Add MD ddb(4) files.
2002-08-26 10:39:43 +00:00
scw
a57d38854c
Save SSR and SPC while in the critical section of an exception. The
...
previous behaviour of storing them with SR.BL clear was in breach
of the SH5 documentation.
Make an effort to catch PANIC traps and dump machine state to the console.
2002-08-26 10:38:52 +00:00
scw
40f78dcc13
Use pmap_map_device() to map device registers.
2002-08-26 10:35:40 +00:00
scw
8bd3eb387d
Don't block exceptions in the initial SR value.
2002-08-26 10:34:43 +00:00
scw
10ce1fc51b
s/pmap_bootstrap_mapping/pmap_map_device/
2002-08-26 10:33:33 +00:00
scw
abc568b5e1
In cpu_fork(), if p1 == curproc, call sh5_savectx() to ensure the
...
pcb contains valid state before copying it to p2's pcb.
Previously, we just lazy-sync the fpu state. This wasn't quite good
enough if p1 had not previously slept.
2002-08-26 10:32:55 +00:00
scw
0a00df79a0
Initialise to zero the memory allocated for interrupt handles.
2002-08-26 10:26:28 +00:00
scw
d2c90421b8
Enable h/w interrupts before returning from cpu_configure().
2002-08-26 10:24:57 +00:00
scw
bc8042954a
- Add a debug check for SR.BL being set on entry to cpu_switch().
...
- Add sh5_savectx()
- Fix a branch target register botch in sh5_fpsave() and sh5_fprestore().
2002-08-26 10:23:56 +00:00
scw
7bd8b94a66
Wrap dump_kipt() in #ifdef DDB.
2002-08-26 10:21:54 +00:00