wdk
2bc18c0ead
Add parenthesis to TICKS_TO_USECS macro avoiding side-effects.
...
Fixes glitch where microtime goes backward. KNF rules!
2000-10-02 07:58:26 +00:00
wdk
d7ff540d90
Boot to multiuser by default.
2000-10-02 07:57:29 +00:00
wdk
68e8ad5120
Fixup missing entries in chrtoblktbl
2000-10-02 07:56:31 +00:00
wdk
77c68f1f9c
downsized kernels for installation & recovery
2000-10-02 07:54:34 +00:00
itojun
b834fb62c3
check in_ifaddr only if INET is compiled
2000-10-02 04:28:13 +00:00
itojun
23bf957144
perform reverse ARP only if INET is compiled into the kernel
2000-10-02 04:27:57 +00:00
itojun
da566268df
attach ARP domain only if INET is compiled into the kernel.
2000-10-02 04:27:21 +00:00
sato
ee8000c4ad
check NBIVIDEO.
2000-10-02 04:15:51 +00:00
sato
3c83f44fa3
experimental ite8181 video driver for hpcfb.
...
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak
2000-10-02 04:14:59 +00:00
sato
59de160368
- DPRINTF -> VPRINTF for verbose.
...
- don't attach other video driver under hpcfb.
2000-10-02 04:03:06 +00:00
sato
938b01e688
experimental ite8181 video driver for hpcfb.
...
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak,
2000-10-02 03:57:53 +00:00
itojun
dcfe05e7c1
fix compilation without INET. fix confusion between ipsecstat and ipsec6stat.
...
sync with kame.
2000-10-02 03:55:41 +00:00
itojun
8524eab4d4
fix paren/#ifdef match.
2000-10-02 03:54:53 +00:00
itojun
dd859d3462
enable VJC only with INET
2000-10-02 03:54:10 +00:00
itojun
b8453a0291
fix compilation without INET
2000-10-02 03:53:47 +00:00
itojun
1af3d80bce
fix compilation without INET.
2000-10-02 03:53:07 +00:00
itojun
412b3abb5f
fix IPv6 packet manipulation. (use ip6intrq)
2000-10-02 03:52:10 +00:00
itojun
253515cca1
cosmetic; repair indentation
2000-10-02 03:51:18 +00:00
sato
a50307118c
add sigmarion cmdmap and use it.
2000-10-02 03:45:10 +00:00
thorpej
4a66a476e9
Make the previous code path simpler (and possible easier for the
...
compiler to optimize), based on fddi_input().
2000-10-01 23:43:44 +00:00
thorpej
7ca3fb9ef0
Move the check for "promisc + unicast + not for us" into ether_input(),
...
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
thorpej
8dc841aa19
Change the behavior of ifpromisc() slightly. If interface is not IFF_UP,
...
attempting to enable promisc would result in ENETDOWN. Change this to
allow the interface to always be placed in promiscuous mode, regardless
of IFF_UP. When the interface does come up, the IFF_PROMISC flag will
be consulted, and this matches the behavior that disabling promiscuous
mode has.
2000-10-01 23:16:07 +00:00
pk
d26132e2be
cpu_initialize: global registers aren't preserved across calls to
...
prom_printf(), so replace %g3 with %l7 (which isn't used despite
the `usage' comment).
Also, clean up white-space turds.
2000-10-01 19:13:16 +00:00
tsubai
442b9b5df2
Get the correct OF node of the screen because PowerBooks have two screens
...
in one PCI device.
2000-10-01 19:08:30 +00:00
uch
f88fbde7ac
don't reset RTC in tx39clock_set()
2000-10-01 18:12:04 +00:00
fvdl
f47a0f34f9
Squeeze even more by removing some COMPAT_1X options, com* (serial
...
ports aren't supported for installation), MFS, slip and ppp. There
was no room for pppd and slattach on the "tiny" floppies anyway, so
there was nothing to use them.
Add pcic at isa, pcmcia, wdc at pcmcia, and 'wireful' cards @ pcmcia
(ne, ep, mbe, sm). Installing is now possible on a 4M laptop over
ethernet (tested with ep at pcmcia, and 640+3200 available memory).
2000-10-01 16:20:01 +00:00
itojun
3e401aa14d
upl(4) is a IPv4 only device.
2000-10-01 11:35:28 +00:00
itojun
b2366d4898
add missing \n. sync with kame.
2000-10-01 10:56:02 +00:00
scottr
2c7ec6839c
In ems_init(): make sure there's valid data in the buffer after sending
...
a TALK command to a device. Noticed by Ken'ichi Ishizaka.
2000-10-01 05:10:57 +00:00
takemura
ccac45b532
Modify keymaps of MC-R and MC-CS series to add backlight control keycommand.
...
Modify keymap of btnmgr to add backlight control keycommand.
Add backlight control function to bivideo.
2000-10-01 03:45:33 +00:00
takemura
dcfcbaf8ae
- Add ioctl commands to wsdisplay which set/get some LCD status,
...
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
have any real keymap but it's just a placeholder for machine dependent
maps which will be overwrite by machine dependent keyboard driver.
2000-10-01 03:29:12 +00:00
leo
d7e0d02e8b
Add include of <machine/asm.h>. C_LABEL is defined there.
2000-09-30 20:40:34 +00:00
leo
ec2e9cd4c8
Add PCB_REGS_* defines. This makes ddb compile again.
2000-09-30 20:36:40 +00:00
fvdl
890dedaed3
Set the # of ptys to 2.
2000-09-30 13:25:12 +00:00
eeh
8e5075103f
This seems to fix the interrupt lossage of non-debug kernels.
2000-09-29 17:02:38 +00:00
tsutsui
cdb3d9df80
Add sip* at pci.
2000-09-29 14:45:59 +00:00
fvdl
2e6f523813
Bump CPU_MAXFAMILY to 7.
2000-09-29 14:17:17 +00:00
fvdl
3cb9873a8d
Recognize Pentium 4. Treat everything with model > 6 as model 7 for now,
...
in the hope that Intel doesn't start number backwards now that they
picked 15 for the P4.
2000-09-29 14:16:23 +00:00
ad
50cf734d26
(*minphys)() musn't return zero.
2000-09-29 13:27:12 +00:00
fvdl
243ae4806b
oops, typo in previous (|| -> &&)
2000-09-29 13:15:48 +00:00
fvdl
33234ff066
Don't print anything when the serial number is not supported. There are
...
a lot of other features that may not be supported either, no need to
print them.
2000-09-29 13:05:12 +00:00
wdk
caccbc2e21
Add kernel support for memory disks
2000-09-29 12:43:14 +00:00
tsubai
e256cfb9ec
Fix a bug that prevents the kernel from detecting the root device.
2000-09-29 10:14:20 +00:00
explorer
62da00b60c
clean up printing when serial number not supported or disabled.
2000-09-29 09:07:53 +00:00
explorer
be5f26e138
print CPU serial number at boot time. After all, we have a million other flags printed, what's one more interesting one.
2000-09-29 09:03:18 +00:00
msaitoh
3c5d2c7fac
avoid SH7709A's serious bug (it fails to read IPR* registers under particular
...
circumstances)
2000-09-29 08:08:37 +00:00
deberg
623e319553
add support for 12-bit color displays, from Timm Wetzel w/ changes by
...
me. closes 10741.
2000-09-29 06:35:57 +00:00
deberg
a295f43fb1
merge lines
2000-09-29 06:33:37 +00:00
deberg
b01c657c80
add RCONS_BPP16 for color display
...
also lose esp0 since i have no disc in this machine, and build symbols.
2000-09-29 06:33:17 +00:00
deberg
44c2ad4763
add RCONS_BPP16 for color display
2000-09-29 06:32:38 +00:00
deberg
9a37177d17
fix 16BPP support (for next68k), from Timm Wetzel.
2000-09-29 06:29:47 +00:00
mellon
b58f5e5835
- Figure out how long if list buffer needs to be if it's too short (fixes
...
PR#10968).
2000-09-29 00:37:37 +00:00
eeh
15eaba378c
Only call pcons_dopoll() if there's a pcons device.
2000-09-29 00:27:13 +00:00
eeh
5c98160d2b
Separate user and kernel address spaces and move the kernel down to
...
0x0000000001000000 -- 0x00000000f0000000, below the PROM where the
PROM thinks we should be.
2000-09-28 19:56:13 +00:00
eeh
d21456569e
Fix INTR_SETUP() to properly distinguish kernel and user addresses.
...
Make microtime() return the correct time on %tick machines.
Re-enable debug stuff in dostart for now to detect kernel mapping issues.
2000-09-28 19:27:49 +00:00
eeh
1090c8a9cf
probeget() actually handles 64-bit values so fix the prototype.
2000-09-28 19:16:35 +00:00
eeh
1ecf6779be
Add support for variable end of user stacks needed to support COMPAT_NETBSD32:
...
`struct vmspace' has a new field `vm_minsaddr' which is the user TOS.
PS_STRINGS is deprecated in favor of curproc->p_pstr which is derived
from `vm_minsaddr'.
Bump the kernel version number.
2000-09-28 19:05:06 +00:00
eeh
0ca74ba0d8
Fix the `trap type 0x10' problem. Apparently, something has changed and
...
now makes use of lockmgr(). Since we broke into the debugger from an interrupt,
we don't have a curproc, so when lockmgr() tries to find our PID it barfs,
causing another break into DDB which then calls the mysterious code that
calls lockmgr() again.....
So set doing_shutdown while we're in DDB so lockmgr ignores locks.
2000-09-28 18:54:39 +00:00
thorpej
59ef356b35
Reintroduce the ACPI memory map code. The bug that caused the
...
IDT to be scribbled over on some systems was found and fixed by
T.SHIOZAKI <tshiozak@netbsd.org>.
2000-09-28 18:31:36 +00:00
uch
154f1e86b1
fix tx39clock_alarm_refill bug.
2000-09-28 16:18:26 +00:00
eeh
6776b270ae
Remove unneeded cache flushes.
2000-09-28 15:47:27 +00:00
eeh
a6205d98a9
Poll pcons for input on softints in case someone want to break into the debugger.
2000-09-28 15:38:49 +00:00
eeh
abeb734bb9
Cannot distinguish kernel and user addresses any more.
2000-09-28 15:34:38 +00:00
eeh
5b577f0c8f
Add a command that locates the page structure corresponding to a pa.
2000-09-28 15:32:36 +00:00
eeh
3a2599ebec
Don't take ref/mod faults on DMA segments mapped in to the kernel.
2000-09-28 15:28:43 +00:00
eeh
a5a8082482
Use prom_printf() for debugging instead of printf() since the console may
...
not be functional.
2000-09-28 15:23:06 +00:00
eeh
25ce73d7b3
Fix bad path specifier for finding fpu sources.
2000-09-28 15:19:56 +00:00
is
126ba78048
We do wired page accounting. Tell UVM about this.
2000-09-28 14:03:38 +00:00
is
f41561e9de
We do wired page accounting. Tell UVM about it.
2000-09-28 13:09:10 +00:00
abs
5aa0a5abb1
Prior art in naming would suggest INSTALL_SYSINST rather than INSTALL-SYSINST.
2000-09-28 12:46:43 +00:00
tsutsui
710c43c745
6 -> ETHER_ADDR_LEN
2000-09-28 10:56:57 +00:00
tsutsui
f4ef578da7
6 -> ETHER_ADDR_LEN
2000-09-28 10:29:42 +00:00
tsutsui
ab9b015dce
6 -> ETHER_ADDR_LEN
2000-09-28 10:10:14 +00:00
ad
d74621ea64
Add an item to the TODO list.
2000-09-28 10:02:09 +00:00
is
2c86369fc4
The Atari pmap does wired page accounting; advertize it to UVM.
2000-09-28 09:09:28 +00:00
enami
a5028df36d
Don't unconfigure if it is already unconfigured.
2000-09-28 08:28:56 +00:00
enami
177a258793
Fix think-o in previous; don't do the same test twice.
2000-09-28 07:35:36 +00:00
leo
670b06c6e0
Move config_console() out of the grf-layer. This allows for more than just
...
grf-type consoles (wscons). Config_console() is now called from consinit(),
just after setting up the kernel msgbuf, so debugging is easy(er).
To further facilitate this move, the pcibus now allows for early-console
attaches by allocating static bus_space_tags (no mallocs possible at this
point).
2000-09-28 07:26:48 +00:00
enami
8e1cd4f341
Port the multicast handling to NetBSD correctly.
2000-09-28 07:20:56 +00:00
enami
bf888fcd19
Factor out and give a name to the common functionality to translate
...
sockaddr which represents a multicast address into an Ethernet address
or range of Etherenet addresses.
2000-09-28 07:15:27 +00:00
enami
dcf72a770a
s/6/ETHER_ADDR_LEN/
2000-09-28 07:01:41 +00:00
enami
63b56285cd
Remove unnecessary test.
2000-09-28 07:00:53 +00:00
enami
656bf989ab
Factor out common code to manupilate file flags into separate function
...
like others do.
2000-09-28 06:43:20 +00:00
leo
6cb04802f1
Nuke cf_unit abuse.
2000-09-28 06:39:52 +00:00
leo
af27893736
Correct some typos.
2000-09-28 06:32:10 +00:00
enami
b4b2cdf575
Replace misused DIAGNOSTIC with WI_DEBUG.
2000-09-28 06:29:41 +00:00
enami
2f625bf43f
Remove unnecessary and commented out code.
2000-09-28 06:24:48 +00:00
leo
a89f788198
Move the grfbus out of std.atari. You don't want a grfbus defined on headless
...
and wscons setups.
2000-09-28 06:19:06 +00:00
enami
2c4a718932
Remove unnecessary function decl.
2000-09-28 06:13:35 +00:00
enami
b531012315
Install if_vlanvar.h.
2000-09-28 06:06:50 +00:00
itohy
c2672f184b
Fix the type of pmap_zero_page_uncached from void (paddr_t) to
...
boolean_t (paddr_t) to make it compile again.
2000-09-28 03:41:50 +00:00
mhitch
f9521e4c70
Set the boundary to NBPG for bus_dmamap_create(). The IOASIC DMA segment
...
can not cross a page boundary. This fixes a problem when a dump(8) buffer
just crossed a page boundary and bus_dmamap_load() would coalesce the
the overlap onto the first segment. The NEXTPTR value would get set to
-1 when starting the DMA transfer and the residual data for unaligned
transfers would be copied to physical address 0x1ffffffc. On the R3000,
this would result in corrupted data, and on the R4000 would usually result
in a hard system hang.
2000-09-28 03:27:29 +00:00
mhitch
226b343323
Need to use MachHitFlushDCache() for the MIPS3 to ensure invalidating
...
both the primary and the secondary caches. MachFlushDCache() will not
invalidate the correct secondary cache lines for KSEG2 addresses.
R4000 systems should now be able to boot and run.
2000-09-28 03:19:12 +00:00
mhitch
af7ddd3659
Set up the physical addresses for DMAPTR/NEXTPTR before adjusting for
...
unaligned transfers and adjust the physical address to align the transfer.
If the buffer end just crossed the page boundary, the computation of the
NEXTPTR physical address resulted in using -1. The cleanup at the end of
the DMA transfer would try to copy the residual data to physical address
0x1ffffffc. This would silently corrupt data on the R3000 and usually
would hang the R4000.
2000-09-28 03:11:29 +00:00
augustss
64d672931e
Regen.
2000-09-28 01:27:16 +00:00
augustss
6f2ac8aed1
Add a couple of Apple products.
2000-09-28 01:26:49 +00:00
erh
d921f48d7a
When grabbing address structures out of a character array make sure that the number of addresses and length of each match up with the size of the data we're handed. Fixes arp on the alpha.
2000-09-28 01:14:06 +00:00
thorpej
910383617d
Add vlan(4) glue.
2000-09-27 23:02:02 +00:00
thorpej
77efca7976
Glue VLANs into ether_input().
2000-09-27 22:58:21 +00:00
thorpej
00746cb0d6
Support for 802.1Q Virtual LANs. Derived and cleaned up by
...
Andy Doran <ad@netbsd.org> from the FreeBSD/OpenBSD implementation.
A few minor changes to how it all hooks into the system by me.
2000-09-27 22:40:54 +00:00