augustss
7b4eccb432
Use DPRINTF for debug messages.
2000-02-27 21:06:55 +00:00
augustss
739151c214
Regen.
2000-02-27 20:44:22 +00:00
augustss
741c59a303
Add the QuickShot Strikepad game-pad.
2000-02-27 20:43:53 +00:00
augustss
45b36632c0
Add code (off by default) to keep track of the signal strength of the last
...
few packets received from different MAC addresses.
2000-02-27 20:40:42 +00:00
tsubai
0468fe97e4
Don't use hardcoded speed value when this is a console. Instead, read
...
from zs. (because OF-3.x uses 57600 bps)
2000-02-27 20:31:57 +00:00
mycroft
d128de6bc6
Change miniroot size to 3072.
2000-02-27 20:26:07 +00:00
mycroft
61cc77895b
Some minor cleanup to the probe code.
2000-02-27 20:01:05 +00:00
tsubai
f101e8315f
Add gmac. (commented out)
2000-02-27 18:06:43 +00:00
tsubai
6f4bb03178
Initial version of gmac ethernet driver.
...
XXX doesn't work well yet.
2000-02-27 18:00:55 +00:00
tsubai
0086d842d5
Rewrite stdarg/varargs.
2000-02-27 17:50:20 +00:00
matt
74ca33774a
only include i386/include/reg.h on i386.
2000-02-27 17:30:10 +00:00
augustss
6c10d82f8d
Add (commented out) PCIBIOS options so people can find them easily.
2000-02-27 16:51:39 +00:00
uch
dc8f1b2cb9
UCB1200 GPIO support.
2000-02-27 16:37:50 +00:00
uch
c26429fac5
UCB1200 GPIO routines.
2000-02-27 16:34:13 +00:00
uch
fc0a27a970
cosmetic changes
2000-02-27 16:28:13 +00:00
uch
20e5cfa32f
Billionton Systems Inc. LNT-10TN card.
2000-02-27 11:15:47 +00:00
uch
d386caeaec
regen.
2000-02-27 11:14:43 +00:00
uch
663c327808
Add Billionton Systems Inc. LNT-10TN NE2000 Compatible card.
2000-02-27 11:14:03 +00:00
itojun
959ca07b4b
add hw.alignbytes sysctl mib. this gives you the value of ALIGNBYTES
...
at the kernel compilation time (ALIGNBYTES that the kernel uses).
2000-02-27 06:13:35 +00:00
takemura
b22af17c02
Add 'Sharp HC-1200' and divide MC-CS1x into MC-CS11, 12 and 13.
2000-02-27 05:47:34 +00:00
groo
d03ca248f1
Add envsys_basic_info_t and envsys_tre_data_t. The more specific
...
typedefs should probably be deprecated.
2000-02-27 04:10:30 +00:00
mycroft
9a06ea04a2
Fix the same race condition while initializing the socket.
2000-02-27 03:25:03 +00:00
mycroft
7794bfe183
Reorder the usage of intr_establish/intr_disestablish with respect to setting
...
the CSC_INTR register, to insure that the IRQ is not left floating and enabled
at any point. Eliminates stray interrupts during the IRQ probe.
2000-02-27 03:08:00 +00:00
soren
a4a133213f
Add empty token_ifdetach().
2000-02-27 03:04:09 +00:00
mycroft
cf3085176e
Nuke all the code associated with the INITIALLY_LEVEL_TRIGGERED() lossage, and
...
instead register a shutdownhook to restore the PIC state.
2000-02-27 02:50:31 +00:00
oster
8c46e74418
Nuke some debugging output that got left in by mistake.
2000-02-27 02:35:33 +00:00
oster
82419f5ae9
Only mark the components as CLEAN if it's the last thing we're doing.
...
Marking them CLEAN earlier is (currently) asking for trouble.
(XXX This could have been done more elegantly.)
2000-02-27 01:50:22 +00:00
mycroft
544ffa4528
Force polling on pcic, so I get another IRQ for cards.
2000-02-27 00:15:30 +00:00
mycroft
a3ae8af043
Allow a flag to be set to force polling for socket events.
2000-02-27 00:14:27 +00:00
mycroft
76a60b98d3
Install pio.h.
2000-02-26 22:15:40 +00:00
thorpej
198dbed79d
Pull in <sys/types.h> for the benefit of those things which include
...
<machine/sysarch.h> but don't pull in <sys/types.h>.
2000-02-26 20:12:56 +00:00
uch
16c31080a5
IT8368E legacy mode requires mode change between I/O access and
...
attribute memory access. XXX
2000-02-26 19:02:22 +00:00
thorpej
0958e8149a
x86-style PIO ops for USERLAND ONLY! Requires -lalpha.
2000-02-26 19:00:51 +00:00
thorpej
df88882d80
- Add a bus space method for getting the translation for a window.
...
- Add sysarch methods for "get bus window count", "get bus window",
and "pci conf read/write".
These are a hack, but they're what's necessary in order to make
XFree86 work in its current state.
2000-02-26 18:53:10 +00:00
oster
d9c47013b2
Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
...
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
sommerfeld
3081e1deb7
Fix bogon discovered with LOCKDEBUG:
...
In msdosfs_hashget, final simple_lock() should have been simple_unlock().
2000-02-26 17:25:17 +00:00
thorpej
6f1701b01c
Put a lock on the pcic, to serialize access to the chip during event
...
handling. This is important when multiple cards are present when
the system boots, as we use tsleep now instead of delay in various
places (delay used to provide serialization by virtue of not causing
a context switch).
2000-02-26 17:24:44 +00:00
itojun
13fc260296
s/options\t/options \t/ for CONS_OVERRIDE line, so that addition/removal of
...
"#" does not affect indentation.
2000-02-26 17:12:37 +00:00
scw
f2c822fa6e
Include <machine/cpu.h> to make these compile again.
2000-02-26 16:50:55 +00:00
itojun
6b56aad85e
more careful about AF on ctlinput. (saw panic in the past with kame/netbsd141)
2000-02-26 16:10:31 +00:00
itojun
6dd76ea8cf
don't touch non-AF_CCITT addrs on ctlinput. ctlinput routines can be
...
called from non-matching AFs. (saw panic by called with AF_INET6)
2000-02-26 16:03:23 +00:00
uch
e0f169f58e
change power up sequence.
2000-02-26 15:16:19 +00:00
uch
d4c8fabc4a
fix lost interrupt bug.
2000-02-26 15:14:19 +00:00
scw
b4d8a2fd8f
Need <machine/cpu.h> for IIOV definition.
2000-02-26 14:31:35 +00:00
itojun
2c7ba046f0
with IPv4 AH, strip off AH from the packet. this is to make some
...
of IPv4 transport layer code work correctly (specifically, ICMPv4
will transmit wrong packet if we don't strip AH here)
this is just for m_pulldown case. normal installations are not affected.
2000-02-26 11:49:44 +00:00
pk
546bda740f
Revert to using <bsd.prog.mk> again, so we support all targets that may
...
be presented when building the system (noticed by Juergen Hannken-Illjes).
2000-02-26 11:48:15 +00:00
itojun
99d909fc98
implement rip6_ctlinput, to cope with routing changes correctly.
...
(IMHO we need rip_ctlinput as well)
2000-02-26 09:09:17 +00:00
itojun
9c484862a0
make it possible to throw IPv6 packet with proto=4/41.
...
(in normal case we don't do it, but this is how IPv4 in_proto is written)
2000-02-26 09:01:59 +00:00
itojun
e40f8f1220
sync description on proxy NDP with latest KAME doc.
2000-02-26 08:49:49 +00:00
itojun
1450d6e643
bring in recent KAME changes (only important and stable ones, as usual).
...
- remove net.inet6.ip6.nd6_proxyall. introduce proxy NDP code works
just like "arp -s".
- revise source address selection.
be more careful about use of yet-to-be-valid addresses as source.
- as router, transmit ICMP6_DST_UNREACH_BEYONDSCOPE against out-of-scope
packet forwarding attempt.
- path MTU discovery takes care of routing header properly.
- be more strict about mbuf chain parsing.
2000-02-26 08:39:18 +00:00
itojun
beecfd4814
cnw is 8bit-only card. map memory region as 8bit only.
...
(there are so many 8bit-only card fixes. don't we have some hint on cis tuple?)
From: feico
2000-02-26 05:34:43 +00:00
thorpej
52169104c5
Fill in the softc's bus space tag (OOPS!).
2000-02-26 05:11:27 +00:00
thorpej
0b97eb1052
alpha_pa_access(): if securelevel <= 0, grant read/write access to
...
non-memory address locations.
2000-02-26 00:17:25 +00:00
fvdl
bb4e324508
Fix pasto: some lines of the procfs hash code were copied from the
...
UFS code, and I forgot to rename the "ihash" variable, causing
weird effects, because 3/4th of the UFS hash table would become
unreachable after procfs was loaded as an LKM.
2000-02-25 22:33:43 +00:00
mycroft
f8e1e12acc
Add Aviator/RayLink.
2000-02-25 20:55:34 +00:00
mycroft
d1546a70bb
Add more PCMCIA stuff, nuke PNP.
2000-02-25 20:52:11 +00:00
mycroft
78171a3a3e
I told them not to use IST_LEVEL here. Now PCMCIA works on my AS200. *sigh*
2000-02-25 20:48:22 +00:00
mycroft
49f1a84ad6
Be even more careful about cleaning up the socket at boot time.
...
Also, nuke the windows when the socket is disabled. (They might be deallocated
and reallocated, and would thus cause a conflict.)
2000-02-25 20:45:43 +00:00
oster
caa3932441
Minor cleanups. Remove extra debugging printouts.
2000-02-25 20:11:00 +00:00
fvdl
89670eb646
Fix a bug introduced in Lite2 with block allocation and full disk
...
conditions. Reported by Ian Dowse <iedowse@maths.tcd.ie>, based
on patch in FreeBSD reviewed by Kirk McKusick.
2000-02-25 19:58:25 +00:00
oster
21243f6205
- ignore the mod_counter when checking to see if a component fits with the
...
rest of an autoconfig set.
- minor cleanups
2000-02-25 19:56:56 +00:00
oster
503220a18f
- ignore components whose mod_counter values are too low.
...
- noting the mod_counter for autoconfigured sets would be a win too.
2000-02-25 19:56:32 +00:00
jdc
ecf1c1eb21
Add auxiotwo (Tadpole 3GX aux 2 register) entry.
2000-02-25 18:24:40 +00:00
drochner
7da6407d04
add (minimal, PIO only) support for the popular "Tundra Universe"
...
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter
2000-02-25 18:22:39 +00:00
jdc
7840960350
Driver for Tadpole 3GX "Power Down Control (Aux 2) Register".
...
Based on existing auxreg.[ch] (Sparc Aux Register driver).
2000-02-25 18:17:24 +00:00
mycroft
2fd2b78c1f
Only call the cursor method when the cursor state is actually changing.
...
This avoid corrupting VGA displays in text mode (e.g. the first character
of the prompt when you exit vi).
2000-02-25 17:42:51 +00:00
oster
8d63540a8c
When we close autoconfigured components, we need to note that they
...
are no longer in 'autoconfigured' status.
2000-02-25 17:14:18 +00:00
pk
9bbc61deaa
We need <bsd.obj.mk>.
2000-02-25 16:53:22 +00:00
pk
c64db6cec7
Remove out-dated comment.
2000-02-25 16:02:49 +00:00
soda
59ebd61fdf
Do not hardcode ethernet address.
...
This haven't tested with original Acer Pica 61, but it appeared that
NEC Image RISCstation is almost fully compatible with Pica 61, and
doesn't have problem with using product id as ethernet address.
(Although it is better to use SONIC device configuration data from ARC BIOS,
rather than product id. Autoconfiguration stuff for jazz derived systems
really should be revisited.)
2000-02-25 13:28:42 +00:00
soda
0e123969af
some clean up, especially,
...
- use "objcopy -O ecoff-littlemips" instead of elf2ecoff to make cross
compilation easy. this also workarounds a problem that -current
elf2ecoff doesn't work with ARC BIOS.
- use -mips2 for ld, since mixing -mips3 and -mips2 doesn't work with
-current ld.
mostly from Izumi Tsutsui <tsutsui@netbsd.org>
2000-02-25 13:20:43 +00:00
shin
2d3ab1ef0c
stop memory probing at first memory image.
...
this is necessary for MC-CS12.
2000-02-25 11:20:20 +00:00
drochner
469464d4c8
add forward declaration of "struct extent", so the extent header doesn't
...
need to be included
2000-02-25 10:33:12 +00:00
drochner
0ff2be2565
-make lm78 entry depend on NLM
...
-add "vmegeneric" entry (the driver is not yet there, but I'm sick of
the cvs conflicts)
2000-02-25 10:04:38 +00:00
drochner
8ca8b4955d
lm needs-flag
2000-02-25 10:02:13 +00:00
itojun
c1e70a6c0a
allow AF_UNSPEC for SIOCDIFADDR. ISC DHCP client depends on this behavior.
2000-02-25 08:51:35 +00:00
itojun
abf6ccac96
backout previous commit (sanity check for family) - it seems to be doing
...
something wrong. i'll revise it soon.
2000-02-25 08:37:05 +00:00
itojun
de1fd6178d
sync with latest KAME document.
...
- updates in I-D/RFC #
- scoped address syntax change
- remove ALTQ and other portion to avoid confusion
2000-02-25 07:29:47 +00:00
itojun
3c0960474d
reject non-AF_INET addresses on ioctl.
...
without this, we can configure invalid sockaddrs, for example,
sa_family == 0 (and we can never remove them!)
2000-02-25 07:11:38 +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
oster
a4f7f062fd
- cleanup raidinit()
...
- cleanup rf_mountroot_hooks()
- various other cleanups.
2000-02-25 02:42:30 +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
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