Commit Graph

61195 Commits

Author SHA1 Message Date
itojun
1c597398c3 bring in from latest kame tree. use getifaddrs, not SIOCGIFCONF. 2000-02-25 06:27:32 +00:00
itojun
a5ad88b8e0 use getifaddrs. avoid "extern int errno".
(sync with latest kame code)
2000-02-25 06:22:05 +00:00
mycroft
54ffe9e871 Only pay attention to controller 1 on the pcic. It appears that on this
machine it mirrors (but is not usable as) controller 0.
XXX Need to find a way to detect this automatically.
2000-02-25 05:28:42 +00:00
mycroft
7dbe5be481 Disable all windows at boot time, to avoid conflicts when reading the CIS.
Also, GC a small bit of code that's inaccesible after the previous change.
2000-02-25 05:26:17 +00:00
itojun
8f5a83e6e9 on SIOCS*_IN6, validate sockaddrs so that we never configure non-AF_INET6
addresses. (in_control has the same problem - I'll need to check it as well)

obsolete the following two ioctls, they do not fit well against IPv6 addressing
model. (the kernel support them for some period of time, we'll remove them
in the near future)
	SIOCSIFDSTADDR_IN6
	SIOCSIFNETMASK_IN6
2000-02-25 05:13:05 +00:00
mycroft
ac4c520f05 If we fail to attach the socket driver, clear PCIC_FLAG_SOCKETP so that we
don't try to use the socket any further.  (This will only happen if the user
explicitly unconfigured some of the sockets.)
2000-02-25 04:24:37 +00:00
itojun
d142237f2a clear m_pkthdr for M_PKTHDR mbuf, so that we do not get panic with
old data in pointer fields.  NOTE: we'll extend m_pkthdr field soon.

why does the code allocate mbuf by its own?
2000-02-25 03:41:54 +00:00
itojun
1ccb9e8170 when change mbuf type, clear m_pkthdr so that we do not get panic with
old data in pointer fields.  NOTE: we'll extend m_pkthdr field soon.

Wondering: do mbuf pre-allocation code in elink3.c really buy us much
performance?  it comes with code duplicate/synchronization problem with
sys/mbuf.h...
2000-02-25 03:39:13 +00:00
mycroft
01ef320ff1 Add `\My Documents\' to the menu of kernel locations. 2000-02-25 03:38:59 +00:00
assar
75720845de add heimdal.info and heimdal section 3 man pages 2000-02-25 02:52:11 +00:00
oster
a4f7f062fd - cleanup raidinit()
- cleanup rf_mountroot_hooks()
- various other cleanups.
2000-02-25 02:42:30 +00:00
groo
a41f67cc02 Add `lm*' for LM7[89] hardware monitor 2000-02-25 02:35:49 +00:00
oster
5716b5d6d1 Be *slightly* more consistent about the use of num and numraid in raidattach(). 2000-02-25 02:21:12 +00:00
groo
f5f2ad429c Initial import of National Semiconductor LM7[89] Hardware Monitor with isa and
pnpbios attach.

examples:

	lm0 at pnpbios0 index?
	lm0 at isa? port 0x290


TODO: spinlocks, i2c interface.
2000-02-25 02:17:43 +00:00
oster
e4e4483cb7 Fix a (slightly) bogus status message. 2000-02-25 02:06:34 +00:00
thorpej
3dacaa322d Protect a few things from userland with _KERNEL. 2000-02-25 01:16:41 +00:00
thorpej
de974ff82d Add an internal bus space method alpha_bus_space_translate(), which
provides a method to translate an address on an I/O bus into a sysBus
address, along with acccess method information.
2000-02-25 00:45:04 +00:00
mycroft
108b65903a Fix an obscure bug:
If we enter DDB from the keyboard, kc_scandata[] wasn't updated before the
debugger was entered, and the first call to cngetc() would see the ESC and
stack another DDB entry on top.  This was... poor.
2000-02-25 00:42:47 +00:00
itojun
eecf64392b remove unnecessary if - else clause.
(sync with kame)
2000-02-25 00:29:55 +00:00
itojun
1bb987a022 remove extra NULL check
typo in PULLDOWN_TEST case
note: the fixes does not affect normal configuration.
(sync with kame)
2000-02-25 00:29:00 +00:00
itojun
857bdcba78 make variable initialization safer.
(IP6_EXTHDR_CHECK can call m_pullup under rare condition)
2000-02-25 00:27:18 +00:00
ad
c86b7572f9 Cosmetic change. 2000-02-25 00:23:57 +00:00
ad
b74739734a Note DPT ISA support. 2000-02-25 00:22:36 +00:00
oster
268ef0a8e2 Document the new autoconfiguration switches, and update the Usage: line.
More doc changes expected soon.
2000-02-24 23:52:46 +00:00
oster
bdd659fc7f Deal with unconfiguring components in the autoconfigure case. 2000-02-24 23:39:21 +00:00
msaitoh
a84d573e15 KZ-SH4-01 (Kyoto Micro Computer Co.,LTD) 2000-02-24 23:33:59 +00:00
msaitoh
6e7f2e9779 SH4! 2000-02-24 23:32:26 +00:00
tron
35a40cec3e Make soft dependences work without Endian-Independant FFS support.
Patch supplied by Takahiro Kambe in PR kern/9446.
2000-02-24 22:54:39 +00:00
mycroft
71b18d9041 Make it easier to cross-compile with this. 2000-02-24 21:59:13 +00:00
msaitoh
da0ae51fcf variable start address of the main memory (now we can use
the area 2 as main memory with "options IOM_RAM_BEGIN=0x88000000")
2000-02-24 19:42:35 +00:00
msaitoh
7ae4a95c4d multiple interrputs!!! 2000-02-24 19:01:24 +00:00
ad
9744286599 Note DPT ISA support. 2000-02-24 18:51:51 +00:00
ad
5a1fbbb884 ISA frontend. 2000-02-24 18:50:06 +00:00
ad
815f93520f - Attach dpt0 to the isa bus. Commented out since (a) at any valid address it
conflicts with too much other stuff (b) if I UTSLed correctly, EISA boards
  may be picked up at an "ISA address and an EISA address" - I don't have
  enough info on this yet to fix it (c) a DPT HBA at an address usually
  assigned to wdc0/1 may get detected as a WD100x controller. Some of them can
  emulate a WD100x controller, but the one I tested with doesn't.
- Sync with GENERIC just a little.
2000-02-24 18:49:40 +00:00
ad
28fc2b2ee8 Add a DPT ISA HBA frontend, tested lightly with a PM2021A/9X. There are some
issues.
2000-02-24 18:49:06 +00:00
ad
50062f0914 - Don't use bitfields.
- Cosmetic changes.
- Shut down all HBAs "simultaneously", not individually.
- Don't bother grokking HA_ST_MORE. It causes problems.
- Other bits and pieces.
2000-02-24 18:47:55 +00:00
msaitoh
3559e78ed2 include <machine/endian.h> 2000-02-24 17:19:57 +00:00
msaitoh
dddc24af60 G.C. 2000-02-24 17:18:30 +00:00
oster
aea97a5a17 Oops... Missed commmitting this last night. Thanks to Matthias Scheler
for letting me know.
(Add the DiskQueueSW pointer)
2000-02-24 17:12:10 +00:00
msaitoh
f51b1c6783 add RCSID and copyright 2000-02-24 17:10:16 +00:00
msaitoh
e2cc2d00d7 watchdog timer 2000-02-24 17:07:34 +00:00
msaitoh
0e12305a13 global variable declaration 2000-02-24 16:42:54 +00:00
kleink
7b61131dba Missed in end -> _end cleanup. 2000-02-24 15:37:34 +00:00
itojun
3d97823234 remove never-referenced variable (in6_interfaces).
fix paren match for macro.
2000-02-24 12:59:12 +00:00
itojun
95db252b5c costmetic (remove space at EOL) 2000-02-24 12:43:49 +00:00
itojun
729dcf0da4 hide declaration of IP6_EXTHDR_{GET,CHECK} from userland. 2000-02-24 09:55:24 +00:00
itojun
6a1af46504 don't transmit ICMPv4 packet back, if the original packet was encyrpted. 2000-02-24 09:54:49 +00:00
itojun
7b48263c7b (rcmd.c) to make Zoularis happier, pass sa_len separately from sockaddrs.
this changes function prototype for __ivalid*.
This commit breaks binary compatibility for __ivalid*.  I believe this can be
forgiven due to the following:
- this is not really exported function.  no function prototype is in headers.
  function name starts with underbars.  No third-party applications are
  expected to use it.
- the function was introduced very recently, when rcmd.c was made IPv6-ready.
- the only customer in NetBSD tree is lpd.

(lpd.c) sync with rcmd.c change.
2000-02-24 06:33:47 +00:00
scottr
d67bf4504d Turn off some noise during autoconfig on the IIfx/Q9x0, making it
conditional on the TRACE_CONFIG debugging flag.
2000-02-24 05:02:33 +00:00
oster
e644abfe94 Make sure we close auto-configured components appropriately when
attempting a rebuild-in-place.
2000-02-24 04:39:41 +00:00