Commit Graph

40885 Commits

Author SHA1 Message Date
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