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
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
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
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
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
oster
c5961cfba3
Garbage collect some unused stuff. Include rf_kintf.h for a
...
function prototype.
2000-02-24 03:52:15 +00:00
oster
851a2cdcd8
- record the pointer to the DiskQueueSW so we can use that when
...
we hot-add a spare.
- use the above info when adding a spare.
2000-02-24 03:48:41 +00:00
itohy
5ed29fa2d6
Delete a superfluous newline in attach message.
2000-02-24 03:42:44 +00:00
oster
9e81bc058e
Now that we have the information available, use the general maxOutstanding
...
value for the RAID set, rather than looking at Queue[0][0] (which may not
exist).
2000-02-24 02:55:05 +00:00
oster
99f070bab8
- mod_counter needs to get incremented more often.
...
- use raid_init_component_labels instead of hand-rolling a component_label.
(missed doing this for the rf_used_spare case when updating component labels).
- fix serial number initialization in raid_init_component_labels
2000-02-24 01:23:05 +00:00
oster
fb13ce76fc
- make sure we note the parity status in the autoconfig case.
...
- also, make sure we grab the serial number from the component labels
when we autoconfig.
2000-02-24 01:22:32 +00:00
msaitoh
e0c3daee1d
remove PMAP_NEW
2000-02-23 21:14:12 +00:00
mhitch
98fa781c83
The check for 'rz(?,?,?)' was incorrect and would not find the boot device
...
on the 3100.
2000-02-23 18:50:51 +00:00
soren
df1f794536
Reflect version 1.13 of i82365_isa.c. Untested.
2000-02-23 17:22:11 +00:00
mhitch
e48c624741
Loading the exception return PC in k0 before restoring the status register
...
(which disables the interrupts) is *not* a good idea. k0 (and k1) is used
by the kernel code such as the TLB miss handler, and the interrupt entry.
If an interrupt occurs after loading k0 and before the SR gets interrupts
disabled, k0 will be clobbered and when used to load the PC on exit from
the exception handler, results in various hangs and crashes.
2000-02-23 17:04:06 +00:00
fair
7f8cdf038f
Fix a missing closing parenthesis in an error diagnostic
2000-02-23 08:31:25 +00:00
haya
d94804a788
Pccbb maintains the interrupt handlers for 16-bit PC Cards
...
by itself.
Add some comments.
2000-02-23 07:28:54 +00:00
oster
d91ecfbcfd
Be more aggressive about updating component labels in the event
...
of a real component failure (or a simulated failure):
- add 'numNewFailures' to keep track of the number of disk failures
since mod_counter was last updated for each component label.
- make sure we call rf_update_component_labels() upon any component failure,
real or simulated.
2000-02-23 03:44:02 +00:00
mycroft
6ac2d6c797
For pfil_add_hook(..., PFIL_ALL, ...), if we fail to add the output filter,
...
make sure to remove the input filter.
2000-02-23 02:35:42 +00:00
oster
e7f3dc2ec9
blockSize for the component label is already set correctly here.
2000-02-23 02:11:05 +00:00
oster
0c43bf18f0
- cleanup of more component label code
...
- make current default label values available everywhere
- make sure numBlocks and blockSize in component labels get initialized
for all component labels
- check for component size to be smaller than or equal to the partition size
when autoconfiguring
2000-02-23 02:04:21 +00:00
oster
6aaac32240
Do a better job of (re)initializing the component labels after
...
a reconstruct or a copyback.
2000-02-23 02:03:03 +00:00
oster
d84e4ed019
Make a note of autoconfigured components.
2000-02-23 02:01:55 +00:00
oster
e0ab2f3d0f
Correct a comment.
2000-02-23 00:37:11 +00:00
oster
214822e08c
Note the fact that the first arg of raidinit() may be bogus in
...
the autoconfig case (the value of the first arg never gets used, but...).
2000-02-22 23:13:15 +00:00
augustss
9651e60835
Fix typos in my last commit that caused the driver to panic.
...
Change some (unrelated) debug messages.
2000-02-22 22:59:49 +00:00
enami
347823e807
Include dev/isa/isavar.h so that this file compiles again.
2000-02-22 22:46:16 +00:00
chopps
dcfbcbec76
remove bogus debug (was reading unmapped CCR)
2000-02-22 21:29:36 +00:00
tls
08ef0cfe07
revert previous change
2000-02-22 21:09:50 +00:00
mjacob
64fa8aa0d6
remove SES driver
2000-02-22 17:43:57 +00:00
augustss
3bc7b845f7
Make this file possible to use again.
2000-02-22 16:36:29 +00:00
oster
e8ff7f6155
Bounds-check the 'last unit' a little more closely.
2000-02-22 16:07:02 +00:00
thorpej
3f9cf7572c
Don't use void * for chipset tags. Bad hacker, no biscuit.
2000-02-22 16:04:44 +00:00
augustss
009856b631
Save and restore a couple ofregisters in the power hook in case BIOS doesn't.
2000-02-22 16:03:42 +00:00
chopps
db8aeddb5f
deal with bios that just say end tag with no end dep
...
add a lot of skeletal work to pnpbios.
option to handle events from pnpbios in a thread (e.g., hot-doc)
add calls for the other pnpbios functions (e.g., send message etc..)
add most defintions from the pnp doc to new reg file
2000-02-22 15:49:17 +00:00
thorpej
b0b40b6c34
Make this compile after the netisr_dispatch change.
2000-02-22 15:43:54 +00:00
kleink
ed0b97c110
* Add more OS ABI constants and dynamic array tags from D1998-04-29.
...
* Enhance readibility: define data structures first, followed member value
constants, and add more comments.
2000-02-22 13:57:23 +00:00
soda
d7e9d324f9
reflect recent <mips/types.h>: mips is now vm_offset_t/vm_size_t clean
2000-02-22 12:29:56 +00:00
soda
6ff57360cc
mips is now vm_offset_t/vm_size_t clean
2000-02-22 12:28:25 +00:00
pk
9e16037265
Simplify the attach routine a bit.
2000-02-22 12:24:53 +00:00
soda
9051f8102e
clean up vm_{offset,size}_t, use {v,p}{addr,size}_t instead
2000-02-22 12:22:19 +00:00
soda
ea30c06e0e
remove commented out ``ident "GENERIC-..."'', since this file is not GENERIC.
2000-02-22 12:17:52 +00:00
pk
b4e291e818
Fix some off-by-one errors; patch from Jonathan O'Brien.
2000-02-22 12:12:21 +00:00
soda
4ad26273c2
rd -> md
2000-02-22 11:40:20 +00:00
soda
e9423d1a30
this file belongs to arc/include on NetBSD.
2000-02-22 11:32:23 +00:00
augustss
9056664327
Prepare a little for having USB interrupt processing done outside the hard
...
interrupt level (in a thread or a softintr).
No real soft processing done yet.
2000-02-22 11:30:54 +00:00
darrenr
fdf401f582
only call pfil_list_add with one of PFIL_IN or PFIL_OUT defined
2000-02-22 11:30:22 +00:00
soda
71f6ef9ee6
merge changes between OpenBSD-2.1 and OpenBSD-2.6
2000-02-22 11:25:55 +00:00
augustss
6cc37002ad
Fix (mostly harmless) typo.
2000-02-22 11:25:06 +00:00
augustss
2eda3cf829
Better debug info.
2000-02-22 11:24:22 +00:00
soda
87009692f7
OpenBSD-2.6/arc
2000-02-22 11:05:02 +00:00
kleink
d33119108e
Add OS ABI constants from the 1998-04-29 draft.
2000-02-22 10:49:19 +00:00
darrenr
81069f7a58
return int from pfil_add_hook and pfil_remove_hook to indicate failure
...
or success, rather than panic'ing
2000-02-22 10:45:47 +00:00
darrenr
4da6dd2324
fix from Mike Pelley to add filters in the reverse order for output
...
compared with input.
2000-02-22 10:18:49 +00:00
thorpej
bfaa657135
Fix printf formats on the Alpha.
2000-02-22 08:23:22 +00:00
dbj
ef5d25c147
use bios' idea of the basemem size and create the kernel stack
...
at the top of it instead of hard coding 0x90000
2000-02-22 07:45:04 +00:00
sato
7a91879a6d
delete warning.
2000-02-22 04:11:24 +00:00
oster
fb56415023
Add a few comments, and an indicator of whether or not an autoconfig set
...
is 'rootable'.
2000-02-22 03:39:47 +00:00
oster
bd2230fd09
- implement additional component checking before autoconfiguration
...
- make component label setting work again(!!!!)
2000-02-22 03:38:42 +00:00
enami
32f100250f
Cosmetic changes.
2000-02-22 02:38:26 +00:00
enami
b785bb47a0
Establish a powerhook and make sure the card detect interrupt is enabled
...
after resume from suspend, as i82365.c does.
This is a workaround for newer Sony VAIO notebook.
Patch is submitted by Atsushi Onoe (onoe@sm.sony.co.jp ) in PR#9463.
2000-02-22 02:35:26 +00:00
msaitoh
58369df4e9
Fix the bug which cause invalid slot exception under SH4.
...
This exception doesn't occurs under SH3
2000-02-22 02:17:05 +00:00
msaitoh
c02e68b1f5
calculate checksum correctly
2000-02-22 02:14:16 +00:00
msaitoh
c956cdcabe
bugfixes:
...
o SCI accesses SCI registers (not SCIF) correctly
o If there is serial inputs in boot time, it could hangup in interrupt routine
o some cleanups(KNF)
2000-02-22 01:37:11 +00:00
oster
afccbaa6d7
Umm.. let's set 'numraid' to something useful before we try to use it.
2000-02-21 23:33:45 +00:00
erh
8f03b9a04a
Define the DONETISR macro and use netisr_dispatch.h. This is to cut down on code duplication and to standardize the available NETISRs across all ports.
2000-02-21 20:38:46 +00:00
erh
6ac8255360
This is a fragment of the network soft interrupt routine in MD code. DONETISR should be defined to do the appropriate thing for each port before including this. This file is to keep the available NETISRs the same across all ports.
2000-02-21 20:36:14 +00:00
erh
fa88d200cf
Remove NETISR_IMP. Make NETISR_ARP == AF_ARP, renumber NETISR_PPP to allow this.
2000-02-21 20:31:02 +00:00
dbj
8f2d14fbd1
added wmesg argument to pcic_delay debug printout
2000-02-21 20:16:22 +00:00
dbj
f4f446cf2c
include dev/isa/isareg.h instead of redefining IOM_BEGIN, IOM_END
...
and IOM_SIZE for ISA memory mapping kludge
2000-02-21 20:06:08 +00:00
mjacob
7f44584598
clen up some error messages
2000-02-21 19:18:53 +00:00
aymeric
77292e79c6
fix a couple of things to handle interrupts more cleanly on the A1200
2000-02-21 18:27:49 +00:00
pk
dd6a9d86b0
SUN_BOOTPARAM compile-time option is no longer used.
2000-02-21 15:13:11 +00:00
pk
f89828d99f
bootxx links at 0x340000
...
2nd-stage boot programs choices: 0x200000,0x300000,0x400000,0x700000 (default: 0x300000)
2000-02-21 15:07:32 +00:00
pk
ea0dbfe79c
RELOC -> RELOC_DEFAULT
2000-02-21 14:44:18 +00:00
pk
8305907589
Build several versions of the second-stage boot program, each linked
...
to run at a different base address. Boot image build procedures can
pick one which is least likely to fail..
The default boot program is again build to run at 0x340000.
2000-02-21 14:41:22 +00:00
shin
26f41e8f13
support non-contiguous memory.
...
patch from Mycroft <root@ihack.net> and uch@netbsd.org .
tested hardware:
VR4121 IBM WorkPad z50 (48MB, 16MB)
VR4121 NEC Mobile Gear II MC/R730
TX3912 Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
TX3922 Sharp Telios HC-AJ2 (32MB)
2000-02-21 13:46:02 +00:00
nisimura
3c0d53280b
Fix scsi.pmax inclusion mistakenly commented out.
2000-02-21 06:44:24 +00:00
scottr
5bc9da0d51
Correct some temporary confusion between the IOPs and the OSS: move
...
IOP init back to mac68k_init(). We'll deal with the OSS later.
2000-02-21 05:50:14 +00:00
sommerfeld
ec2327108e
On MP, print cpu number prior to prompt
2000-02-21 05:48:56 +00:00
scottr
45ac4c3122
Use constants defined in viareg.h to set value of VIA2.
2000-02-21 05:36:11 +00:00
mjacob
296fbeed2a
Patches from msouth@scruz.net to handle QIC 3220 (HP T20).
2000-02-21 05:11:09 +00:00
scottr
17a313075f
Correct some temporary confusion between the IOPs and the OSS: move
...
IOP init back to mac68k_init(). We'll deal with the OSS later.
2000-02-21 04:08:21 +00:00
enami
158df7b6f1
Don't establish an interrupt if attach is in progress. Anyway, current wdc
...
and its children doesn't require interrupt on attach.
2000-02-21 03:55:22 +00:00
enami
91026fe7f2
Cosmetic changes.
2000-02-21 03:26:41 +00:00
scottr
5c7674d4dd
Explicitly include headers needed by iopreg.h
2000-02-21 02:04:48 +00:00
chs
6ba0786ed1
several fixes:
...
1. in pmap_steal_ptp(), don't trylock the pmap that wants a ptp,
the caller already has it locked.
2. do not panic in pmap_enter() due to memory allocation failures when
the PMAP_CANFAIL flag is given. to this end, move all such panics
from the lower-level routines to pmap_enter() and pmap_growkernel()
where we can check for this flag.
3. add #ifdef DIAGNOSTIC around all panics which are only reachable
if there's a bug or a hardware error.
2000-02-21 02:01:24 +00:00
scottr
eb17197dee
Initialize VIA/IOP/PSC from intr_init(). While here, re-order headers
...
to match KNF.
2000-02-21 01:51:37 +00:00
scottr
806c8c15e0
Initialize VIA/IOP/PSC from intr_init().
2000-02-21 01:48:49 +00:00
thorpej
70bbb1b84e
Sync PCMCIA memory mapping with a change from rev 1.47 of i82365.c:
...
always map attr memory 8 bit, since its defined that way. (chopps)
2000-02-21 01:44:36 +00:00
scottr
ab647533a1
Bracket disabled IIfx IOP code with #ifdef __notyet__, rather than
...
commenting it out or using #if 0.
2000-02-21 01:20:55 +00:00
sommerfeld
3a76270201
deal with a DELAY vs. delay issue
2000-02-20 22:19:29 +00:00
groo
024d345241
Add ability to customize I/O region and DAC offset based on pnpbios idstr.
...
Add CSC0000 id from Dell Latitude CPi.
2000-02-20 22:03:49 +00:00
soren
7fffbf8679
Add a few links to documentation.
2000-02-20 21:42:26 +00:00
mjacob
a3a129e6f5
Oops...I forgot that the GEM-2 chip is so lame that if you don't tell
...
it exactly the right amount of data to transfer for WRITE BUFFER/Global
it will stay stuck in command phase (causing a command phase overrun).
2000-02-20 21:30:44 +00:00
sommerfeld
cd14e5fa0c
Add a fifth "divisor" argument to humanize_number; suitable values are
...
either 1024 or 1000.
Needed because frequencies use decimal rather than power-of-two SI
prefixes.
2000-02-20 19:32:28 +00:00
minoura
077b93be1a
According to Takeshi Nakayama <tn@catvmics.ne.jp>,
...
POW_ALARMSW seems always 1 on some models (at least XVI).
2000-02-20 16:18:51 +00:00
jdolecek
5f0b3b1510
usbd_devinfo_vp(): search the know devs array also if the device
...
doesn't return product description (e.g. Kye's Genius NetScroll
mouse returns vendor, but not product); the strings
returned by device are still preferred to those in the array, though
2000-02-20 14:45:05 +00:00
jdolecek
6b93b03665
regen
2000-02-20 14:39:28 +00:00
jdolecek
e710e0dfa1
Add Kye's Genius NetScroll mouse
...
XXX Should the name be just "NetScroll mouse" ? Kye seems to be manufacturer
XXX for the mouse licenced from Genius.
2000-02-20 14:37:48 +00:00
mjacob
1c4521f1da
add ses.h to list of includes
2000-02-20 07:39:41 +00:00
mjacob
c5f8d33f85
minor spelling change
2000-02-20 07:38:48 +00:00
wiz
1515bd47fc
remove obsoleted #if defined(UVM)
2000-02-20 06:34:46 +00:00
enami
6779fc2bb2
Fix thinko in previous commit.
2000-02-20 03:48:40 +00:00
enami
ac75116d32
Try other config entry on i/o space alloc failure.
2000-02-20 03:18:15 +00:00
darrenr
4b3916780b
pass "struct pfil_head *" to pfil_add_hook and pfil_remove hook rather
...
than "struct protosw *".
2000-02-20 00:56:33 +00:00
chs
0e4b23600f
handle a NULL "done" pointer.
...
for the userspace versions, return EFAULT instead of EACCES
when the user address is bogus.
2000-02-19 23:29:16 +00:00
itojun
db71aa588d
s/u_char/u_int8_t/ for sin6_{family,len}
2000-02-19 17:32:07 +00:00
aymeric
728c720d75
acknowledge the interrupt to gayle before entering wdc_intr.
...
This fixes the lost interrupts problem.
fix some glitches on the A1200 too.
2000-02-19 17:16:20 +00:00
mjacob
6f13498242
correct oops on last checkin
2000-02-19 15:13:07 +00:00
jun
fa120e391e
On [port-hpcmips-ja@jp.netbsd.org:1764]
...
suz@hpc.bs1.fc.nec.co.jp (Koji Suzuki) writes
Sample configration for cassipeia E-55 & E-500
// wdc1 line deleted from original.
2000-02-19 15:01:33 +00:00
jdolecek
49fb5cf837
one more - Windows 2000 NTFS support
2000-02-19 14:42:21 +00:00
itojun
977705bc43
sort filenames, mainly to sort ip6/ipsec entries.
...
requested by: matthew green <mrg@eterna.com.au>
2000-02-19 10:31:07 +00:00
nisimura
e6635ea8bd
Introduce MI SCSI codes; for DECstation 5000s only this moment.
2000-02-19 09:48:46 +00:00
nisimura
051314999f
Introduce MI SCSI codes; for DECstation 5000s only this moment.
...
Disabled by default and needs arrangements in conf file to use it.
See DS5000 as a sample.
2000-02-19 09:46:48 +00:00
nisimura
58d5093220
Introduce MI SCSI codes; for DECstation 5000s only this moment and
...
disabled by default.
2000-02-19 09:43:40 +00:00
mycroft
7f0554e0c9
Add some CONSTCONDs to make lint happier.
2000-02-19 09:23:44 +00:00
mycroft
09cc3151e6
Don't pull in cpu.h in non-kernel code.
2000-02-19 09:22:51 +00:00
mycroft
fb5d3e9da4
Enable DDB history.
2000-02-19 06:58:28 +00:00
nisimura
da782dba95
The way to determine booted root device was simplified largely.
2000-02-19 04:16:18 +00:00
mycroft
6fe5b35136
Don't print an extra cpu0: prefix.
2000-02-19 04:00:59 +00:00
mycroft
14ef93565d
Use the prefix printed before cpuattach() is called.
2000-02-19 03:59:04 +00:00
nisimura
02d328f925
List all 6 different types of MI SCSI device.
2000-02-19 03:58:23 +00:00
tsutsui
fb7bc58609
Add new SUBDIRs.
2000-02-19 02:03:29 +00:00
mycroft
b4f04eeaad
Disable the sN,sp,gp register restore code for now, as it seems to collide with
...
something else.
2000-02-19 01:56:21 +00:00
mjacob
a9697ee5f2
Handle > 12 byte CDBs.
2000-02-19 01:55:42 +00:00
mjacob
717d5b1cc3
Support for > 12 byte commands for parallel SCSI.
2000-02-19 01:54:42 +00:00
mjacob
d88aecac57
Remove residual and now broken !ISP_NO_FASTPOST_SCSI code (which was
...
turning back on fast posting!). Redo fabric (re)login loop- don't try
and log out ports that haven't been logged in. Do correct target id
shuffling so we just always find the target ID we want. Add in support
for > 12 byte commands for parallel SCSI. Handle some Dual Bus reset
stuff. Finally fix ABORT COMMAND to use the right 16 bit order of the
handle to abort.
2000-02-19 01:53:56 +00:00
mjacob
ff86abe827
Cleanup some printaouts.
2000-02-19 01:51:43 +00:00
mjacob
b6dd4ddacf
Add in ISP_SWIZZLE_CONTINUATION macro.
2000-02-19 01:51:21 +00:00
mjacob
8c2e6c73e3
Handle dual bus cases for immediate notify and enable lun commands.
2000-02-19 01:50:57 +00:00
mjacob
98f7f7b5a0
Fix ITDEBUG macro
2000-02-19 01:50:25 +00:00
mjacob
77dec43b22
Clarify cd_resid tag.
2000-02-19 01:50:03 +00:00
mjacob
8405ee3752
Add in some mbox return codes that define when we've used up target
...
ids for doing fabric login. Define the 'Get All Next' SNS response
structure.
2000-02-19 01:49:47 +00:00
tsutsui
6df4ed6f4d
Fix resettod() from Richard Earnshaw <rearnsha@arm.com>
2000-02-19 00:27:16 +00:00
tsutsui
6cf82b4102
Sync with CATS.
2000-02-19 00:17:59 +00:00
tsutsui
7f54ebdd6b
- enable adv, pcscp, ex, vr and sequencer (which I am/was using)
...
- add (commented out) ne[01] at isa? (working)
- add (commented out) file-system CODA
- add (commented out) mpu* at sb? and midi* at mpu? (untested)
- comment out faith (sync with GENERIC)
- some more cosmetics
2000-02-19 00:14:58 +00:00
mycroft
e7cfaf8f5b
Actually, it looks like the mouse is there.
2000-02-18 23:11:20 +00:00
mycroft
640bdcd6cf
Document some things that are missing.
2000-02-18 23:10:01 +00:00
mycroft
f1d350ea27
Somewhat scaled-down config for a WorkPad.
...
Uses WSEMUL_SUN so I can get multi-line scrolling.
2000-02-18 20:52:15 +00:00
soren
d282f771e7
Remove redundant CIS definitions.
2000-02-18 18:55:31 +00:00
thorpej
bb7c9c63f3
On exception return, use k1 to restore the saved registers, so that we
...
don't stomp on the return address in k0. Also, don't need to account
for any load delays, as the last register restored (gp) isn't used in
the subsequent instruction.
2000-02-18 18:36:41 +00:00
nisimura
7481db1957
Revert the removal 'include "dev/scsipi/files.scsipi"' directive; it's
...
neccessary to make pmax/conf.c compiled correctly.
2000-02-18 10:18:12 +00:00
tsubai
e7edda84b7
Remove vmparam.h.
2000-02-18 08:50:25 +00:00
nisimura
eb30f016ae
Group and reorder old SCSI driver descriptions into a single
...
location. Nuke files.scsipi inclusion which has never been useful.
2000-02-18 08:41:21 +00:00
mycroft
fec6c976f3
Make the z50 tab key work.
2000-02-18 06:54:47 +00:00
nisimura
3e02ded337
Improvement on SFB enabled copycol(); still yet under development,
...
it miserably fails on corner cases.
2000-02-18 06:51:51 +00:00
itojun
83176f3b3c
fix alignment problem in ancillary messages (alpha).
...
the change constitutes binary compatibility issue hen sizeof(long) !=4.
there's no way to be backward compatible, and only guys affected
are IPv6 userland tools.
From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se>
2000-02-18 05:19:23 +00:00
mycroft
c9f3b6ba01
Adjust previous change for R3000 load delay slot.
2000-02-18 03:46:43 +00:00
mycroft
71979ea6fb
Make the MIPS1 and MIPS3 code more similar.
...
XXX Needs testing on MIPS1.
2000-02-18 00:15:15 +00:00
mycroft
9e77fba716
Take a whack at allowing sN, sp and gp to be set from DDB, too.
2000-02-18 00:02:43 +00:00
mycroft
3ade108e4b
Allow vN, aN, tN, ra, sr, mul[lo,hi] and pc to be set from DDB. sN requires
...
more work.
2000-02-17 23:52:23 +00:00
mycroft
c41cbbb8b7
Fix obvious typo.
2000-02-17 22:16:31 +00:00
sommerfeld
a00eb27e1a
More 802.11 subtypes: there's also 1MB/s DS
...
(the BayStack 660 firmware claims to support it).
2000-02-17 21:53:16 +00:00
mycroft
760d110b96
Regen.
2000-02-17 21:31:39 +00:00
mycroft
b95959c4c8
Give platid_name_table_size a type.
2000-02-17 21:31:13 +00:00
thorpej
132107ce3b
Add a whole slew of registers found in the PCnet-PCI family.
2000-02-17 20:18:29 +00:00
augustss
6fa8665eeb
Handle detach that happens before attach has finished. (Reported by mycroft.)
2000-02-17 18:42:21 +00:00
sommerfeld
50c84950f2
awi: rewrite to be higher performance.
2000-02-17 17:37:23 +00:00
augustss
1955c335af
Regen.
2000-02-17 16:30:44 +00:00
augustss
536b31a5c8
Add Sony PCGA-UMS1 mouse.
2000-02-17 16:30:11 +00:00
sommerfeld
7adb22cfa5
Add detach support.
...
Light cleanup.
2000-02-17 15:58:32 +00:00
abs
7ff31fc326
Update patch from Witold Wnuk in PR 9335 to solve potential security
...
issue noted by tls.
2000-02-17 12:34:26 +00:00
darrenr
12636d3570
bump __NetBSD_Version__ due to change in protosw for pfil
2000-02-17 11:41:59 +00:00
darrenr
a156f44da6
bump __NetBSD_Version__ due to change in protosw for pfil
2000-02-17 11:01:20 +00:00
darrenr
fd7edad6c3
Change the use of pfil hooks. There is no longer a single list of all
...
pfil information, instead, struct protosw now contains a structure
which caontains list heads, etc. The per-protosw pfil struct is passed
to pfil_hook_get(), along with an in/out flag to get the head of the
relevant filter list. This has been done for only IPv4 and IPv6, at
present, with these patches only enabling filtering for IPPROTO_IP and
IPPROTO_IPV6, although it is possible to have tcp/udp, etc, dedicated
filters now also. The ipfilter code has been updated to only filter
IPv4 packets - next major release of ipfilter is required for ipv6.
2000-02-17 10:59:32 +00:00
mycroft
f7ad1af2b5
Use bpf_mtap() correctly.
2000-02-17 05:41:41 +00:00
itojun
de10c7425e
backout incomplete hack from KAME codebase (originally from bbn).
...
the hack tries to respect ifa or ifp passed to RTM_ADD. However, the change
broke certain link-layers. They include:
- midway ethernet card (en*), which uses sockaddr_dl in gateway portion
to pass PVC information. with the patch, the gateway portion will be
overwritten by empty sockaddr_dl and PVC initialization will fail.
- IPv6, which can't set static ND table with the patch (ndp -s), for the
similar reason as above.
There may be improved hack coming soon, hope the new one does not break others.
2000-02-17 04:28:00 +00:00
ender
f30d8c9d30
Include mac68k/dev/akbdmap.h, not macppc/dev/akbdmap.h. Fixes PR 9435
...
filed by Dave Huang <khym@bga.com>.
2000-02-17 02:07:07 +00:00
thorpej
d87b838524
Fix TMASK to use all 5 lower bits of the media word, and add HomePNA 1.0.
2000-02-16 18:03:14 +00:00
tsutsui
1da0c062ce
Make sure access of ssir atomic. (from luna68k)
2000-02-16 15:32:03 +00:00
tsubai
a6343f76db
Unused. (PR 9424)
2000-02-16 14:02:13 +00:00
itojun
729f693364
- if ip_dst matches address on !IFF_UP interface, and
...
- there's no match against addresses on IFF_UP interface,
send icmp unreach if I'm router. drop it if I'm host.
Revised version of PR: 9387 from nrt@iij.ad.jp . Discussed with thorpej+nrt.
2000-02-16 12:40:40 +00:00
itojun
791a70292c
correct ratecheck() signedness. without this fix, ratecheck() will never
...
success again after first success with lasttime=(0,0).
2000-02-16 12:36:19 +00:00
fvdl
c13f6dd258
Introduce a sysctl to enable/disable if non-root users can mount filesystems.
...
Default: off.
2000-02-16 11:57:45 +00:00
fvdl
c59358ebde
Add sysctl type for "usermount".
2000-02-16 11:57:00 +00:00
soren
4331d2bcaa
Regen.
2000-02-16 04:29:32 +00:00
soren
021ff75015
Add Toshiba ISA bridge.
2000-02-16 04:29:20 +00:00
oster
7deba340d7
Some of these function names are bad enough that no one else would probably
...
pick them, but preface them with rf_ anyway.
2000-02-16 01:10:44 +00:00
thorpej
b178e1f58c
Add support for rate-limiting RSTs sent in response to no socket for
...
an incoming packet. Default minimum interval is 10ms. The interval
is changeable via the "net.inet.tcp.rstratelimit" sysctl variable.
2000-02-15 19:54:11 +00:00
nathanw
971144c47f
Add ess at pnpbios
2000-02-15 17:14:50 +00:00
nathanw
558d216998
Add pnpbios front end for ESS AudioDrive.
2000-02-15 17:12:54 +00:00
pk
52014b23c5
Allow second-stage boot program to be specified on the command line.
2000-02-15 16:15:07 +00:00
pk
59742052ea
Determine base address at run time.
2000-02-15 14:09:59 +00:00
pk
9bb753bb2e
Nuke unused code.
2000-02-15 12:18:05 +00:00
leo
141900755f
Nuke the local outc() since the prototype for the second argument of tputs()
...
now matches putchar().
2000-02-15 10:14:55 +00:00
leo
8d6a7f1861
Grabage collect a 'struct buf *' left over from recent disksort changes.
2000-02-15 09:00:07 +00:00
thorpej
f3b975e9a4
Add ICMP error rate limiting, based on the same for ICMP6.
...
Note, we're reusing the previously unused slot for "MTU discovery" (which
was moved to the "net.inet.ip" branch of the sysctl tree quite some time
ago).
2000-02-15 04:03:49 +00:00
itojun
800897b12f
make assumption on mbuf explicit (m->m_len >= sizeof (struct ip)).
2000-02-15 00:42:22 +00:00
thorpej
d2bccc29d8
Fix a couple of brainos in the last.
2000-02-15 00:31:08 +00:00
enami
4a1320b29f
Put the entry of FNW-3700T after the entry of SVEC-PN650TX
...
so that SVEC-PN650TX errornously recognized as FNW-3700T.
Pointed out by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-02-14 23:13:49 +00:00
fvdl
fe39281ea4
Fixes to the softdep code from Ethan Solomita <ethan@geocast.com>.
...
* Fix buffer ordering when it has dependencies.
* Alleviate memory problems.
* Deal with some recursive vnode locks (sigh).
* Fix other bugs.
2000-02-14 22:00:21 +00:00
thorpej
fd8c03cf44
Allow arch-specific code to specify in4_cksum() like it can specify
...
in_cksum().
2000-02-14 21:42:50 +00:00
fvdl
15c201069b
Change ratecap to its presumably intended type of struct timeval.
2000-02-14 21:17:04 +00:00
augustss
b223c00cee
Avoid linker error if no PHY is attached.
2000-02-14 20:29:54 +00:00
is
a90153e264
enlarge the initial kernel page table - needed for some 128 MB machine
2000-02-14 20:23:20 +00:00
thorpej
445e42d77a
One small piece from UBC: create a pool for I/O buffers. One small piece
...
not from UBC: make physio use it instead of its own home-grown thing.
2000-02-14 20:12:02 +00:00
thorpej
144759ef2b
Use ratecheck() for ICMP6 rate limiting.
2000-02-14 19:45:50 +00:00
thorpej
2649d26c0e
Use ratecheck().
2000-02-14 19:28:19 +00:00
pk
72252544f5
remove `flags' from sun4 zs declarations; the driver doesn't use it.
2000-02-14 18:08:38 +00:00
pk
5b285d9509
Just skip matching the `slave' property against `cf_unit'.
2000-02-14 18:07:37 +00:00
pk
1d373a94e2
Bump receive buffer size up to the maximum DMA burst boundary.
2000-02-14 17:14:28 +00:00
pk
a1b5434cec
Make promiscuous mode go again.
2000-02-14 17:06:45 +00:00
tsubai
0b8b55beaf
Add uninorth. Now iMac DV and Power Macintosh G4 should run NetBSD.
2000-02-14 14:57:52 +00:00
tsubai
2750c23cdd
Add minimal support of openpic.
2000-02-14 12:45:52 +00:00
bouyer
085f44145c
- Be more strict in status check before sending a command (make sure
...
DRQ is not asserted). Closes kern/9346.
- Change the "fake identify before the real one" by a delay(). The real cause
of the problem is that the drive is unresponsive just after a reset.
The real problem (and the solution) showed up after the first change.
2000-02-14 12:37:35 +00:00
scottr
042be92f6f
Update for wscons.
2000-02-14 08:58:41 +00:00
scottr
2071e61796
Update for wscons.
2000-02-14 08:48:08 +00:00
jun
14af97fa26
add Sharp HC-1200
2000-02-14 07:22:19 +00:00
jun
2d09174cce
regen.
2000-02-14 07:19:25 +00:00
scottr
8a00740789
Merge wscons work onto the main development branch.
2000-02-14 07:01:44 +00:00
jun
f009580118
add Sharp HC-1200
2000-02-14 06:55:36 +00:00
augustss
9558d7b27b
Regen.
2000-02-13 23:10:22 +00:00
augustss
a39279da39
Add a bunch of devices.
2000-02-13 23:10:02 +00:00
tsubai
2aafd71ec7
Reduce NKMEMPAGES_MAX_DEFAULT.
2000-02-13 17:01:47 +00:00
ragge
520d8c032e
Waked up from the dead
2000-02-13 13:01:14 +00:00
tsubai
90fe757934
Fix typo in comment.
2000-02-13 10:25:07 +00:00
itojun
99b18eac36
on attach, check if we've got meaningful mac address or not,
...
to detect io mapping problem.
on detach, handle resource deallocations more carefully.
2000-02-13 06:17:58 +00:00
tsutsui
2a3b53a229
Remove __BROKEN_CONFIG_UNIT_USAGE.
...
This has been fixed on news1200 merge.
2000-02-13 05:40:36 +00:00
mark
068fcab81e
Enable rl ethernet device.
...
General tidy up.
2000-02-13 05:26:04 +00:00
mark
f43601877b
Remove __BROKEN_CONFIG_UNIT_USAGE.
2000-02-13 05:20:45 +00:00
mark
d97d3dc6a5
Enable rl ethernet device and do some general cleaning up.
2000-02-13 05:19:40 +00:00
mark
7ef62e2b59
Remove unncessary cf_unit usage.
...
Make sure we only attach 1 of these devices.
2000-02-13 05:00:57 +00:00
mark
9316cea99d
Remove unnecessary cf_unit usage.
2000-02-13 04:59:57 +00:00
oster
919df6690a
Add support for / on RAID. A bit of a gross hack, but sufficient for now.
...
Note that this doesn't help you much until the RAID autoconfig code
in sys/dev/raidframe/rf_netbsdkintf.c is turned on.
2000-02-13 04:57:44 +00:00
oster
445591e874
Get recent changes into the tree:
...
- make component_label variables more consistent (==> clabel)
- re-work incorrect component configuration code
- re-work disk configuration code
- cleanup initial configuration of raidPtr info
- add auto-detection of components and RAID sets (Disabled, for now)
- allow / on RAID sets (Disabled, for now)
- rename "config_disk_queue" to "rf_ConfigureDiskQueue" and properly prototype
in rf_diskqueue.h
- protect some headers with #if _KERNEL (XXX this needs to be fixed properly)
and cleanup header formatting.
- expand the component labels (yes, they should be backward/forward compatible)
- other bits and pieces (some function names are still bogus, and will get
changed soon)
2000-02-13 04:53:57 +00:00
thorpej
9671588a30
Allocate the page buckets out of kernel_map, not kmem_map. Saves 16
...
or so kmem_map pages on a 32MB SPARCstation 2.
2000-02-13 03:34:40 +00:00
kristerw
952281e8fb
Fixed a bug in the ATR parsing; If TA(i) was absent, then TA(i+1) was
...
used as TA(i) (and similary for TB(i) and TC(i))
2000-02-13 01:31:22 +00:00
augustss
0b2e81991d
Avoid panic when a non-working hub is detached.
2000-02-12 23:44:16 +00:00
enami
84b6105bbe
Check if device is active in wi_intr and wi_inquire.
2000-02-12 23:35:28 +00:00
kristerw
8ff64870d4
The T0 byte must not be included in the TCK calculation (ISO/IEC 7816-3
...
chapter 6.4.5)
2000-02-12 22:40:12 +00:00
ad
fc8ea8f0c5
Misplaced #endif.
2000-02-12 22:06:54 +00:00
augustss
d3fb7161d2
Regen.
2000-02-12 22:02:01 +00:00
augustss
b4fac8c7d0
Add Microsoft Internet Keyboard Pro.
2000-02-12 22:01:31 +00:00
ad
59748e7e55
Fix the unaligned accesses discovered by dbj.
2000-02-12 21:58:58 +00:00
thorpej
09943f0ffa
G/c references to VM_KMEM_SIZE.
2000-02-12 20:57:12 +00:00
chopps
53e6733789
awi is an 8-bit only card, so set the 8bit flag.
2000-02-12 19:58:35 +00:00
thorpej
1268cc5d6c
If we got an xfer from our backlog queue, don't allow sleeping; we're in
...
interrupt context.
XXX This is fixed properly in the thorpej_scsipi branch, but that won't
be ready for 1.5, I don't think.
2000-02-12 19:12:52 +00:00
thorpej
fc72b13d27
Const poison.
2000-02-12 19:05:55 +00:00
thorpej
fd4ed9b425
Typo (Thanks, Havard :-)
2000-02-12 18:00:00 +00:00
thorpej
46f7b67929
Small cosmetic change, and note a place where a statistic should be
...
gathered.
2000-02-12 17:45:44 +00:00
thorpej
312cb38ccb
In the tcp_input() path:
...
- Filter out multicast destinations explicitly for every incoming packet,
not just SYNs. Previously, non-SYN multicast destination would be
filtered out as a side effect of PCB lookup. Remove now redundant
similar checks in the dropwithreset case and in syn_cache_add().
- Defer the TCP checksum until we know that we want to process the
packet (i.e. have a non-CLOSED connection or a listen socket).
2000-02-12 17:19:34 +00:00
ragge
8e114c7994
Nuke unused variable.
2000-02-12 16:09:33 +00:00
itojun
02bf7fcd13
add wi_detach and friends so that we can hot-swap wi card.
2000-02-12 16:08:04 +00:00
oster
edc931efea
Make this compile without warnings on alphas.
...
(Problem noted by Aaron J. Grier)
2000-02-12 16:06:27 +00:00
ragge
918676c04f
Remove __BROKEN_CONFIG_UNIT_USAGE.
2000-02-12 16:00:13 +00:00
ragge
539689da9d
Remove another unneccessary reference to cf_unit.
2000-02-12 15:58:45 +00:00
ragge
c6471e4d9a
Remove an unneccessary reference to cf_unit.
2000-02-12 15:48:34 +00:00
augustss
523d157a05
Regen.
2000-02-12 15:02:56 +00:00
augustss
a79d73d045
Add Corega FEther adapter. From PR 9394.
2000-02-12 15:02:21 +00:00
shin
e9c7fb4c36
change ramdisk size.
2000-02-12 13:48:46 +00:00
pk
19533212a5
Correct comments on KGDB_* entries.
2000-02-12 12:59:36 +00:00
pk
b518dc6dfc
Eliminate much of the goo in setting up zs device addressing.
2000-02-12 12:51:03 +00:00
tsutsui
980ac3a9eb
Fix typo.
2000-02-12 08:52:11 +00:00
enami
01868857df
Add activate routine and check device active flag also in one second
...
tick handler.
2000-02-12 04:05:49 +00:00
enami
fbc47bda30
Cosmetic changes.
2000-02-12 03:55:49 +00:00
thorpej
5903e181fa
Nuke NKMEMCLUSTERS.
2000-02-12 03:29:18 +00:00
shin
49ac0acd83
delete NKMEMCLUSTERS from configuration files.
2000-02-12 03:21:06 +00:00
mjacob
1b188ee2ff
A lot of cleanup and shrinkage. Some items moved to isp_tpublic.h.
2000-02-12 02:33:34 +00:00
mjacob
55a78c1ee4
Add in 12160 (Ultra3) support. Turn back on fast posting for the new
...
generateion parallel SCSI cards (1240/1080/1280/12160). Split up nvram
reading routines to be more readable. Fix topology reporting- 2200 has
connected topology in mailbox 6 when you're done getting your loop id
(supported: Private Loop (NL Port), N-Port, F-Port, FL-Port). The 2100
doens't report this, but we can synthesize it to be either NL-Port or
FL-Port. Add in some connection mode async events.
2000-02-12 02:32:21 +00:00
mjacob
56e16448ad
add in 12160 (Ultra3) related definitions
2000-02-12 02:29:00 +00:00
mjacob
9f63fdeefb
add in 12160 (Ultra3) NVRAM definitions
2000-02-12 02:28:32 +00:00
mjacob
87355d841f
add some Qlogic 2200 point-to-point and extended ICBOPT definitions
2000-02-12 02:26:26 +00:00
mjacob
50f2620822
add 80 MHz case
2000-02-12 02:25:28 +00:00
mjacob
3f96822c3b
some minor cleanups
2000-02-12 02:24:20 +00:00
mjacob
63c56a9de6
add a more public shared i/f to target mode
2000-02-12 02:23:13 +00:00
mjacob
6eba47aa8f
add (untested in NetBSD yet) Qlogic 12160 (Ultra3) suppot
2000-02-12 02:22:37 +00:00
mjacob
29f08cd82d
add 12160 (Ultra3) microcode
2000-02-12 02:07:49 +00:00
kleink
3a09830119
printf format mismatch in DEBUG code (related to already fixed PR hp300/9388).
2000-02-11 23:00:47 +00:00
leo
d10190a70c
Move the ite_default_* variables to ite.c. They are generic ite.
2000-02-11 21:42:52 +00:00
leo
39a8093c78
Remove redundant test.
2000-02-11 21:36:38 +00:00
leo
107405406d
Oops! Both grfcc and grfet need the generic grfabs layer.
2000-02-11 21:35:42 +00:00
thorpej
dded044fc2
Update for the NKMEMPAGES changes.
2000-02-11 19:25:12 +00:00
thorpej
eb9cbbe294
Add some very simple code to auto-size the kmem_map. We take the
...
amount of physical memory, divide it by 4, and then allow machine
dependent code to place upper and lower bounds on the size. Export
the computed value to userspace via the new "vm.nkmempages" sysctl.
NKMEMCLUSTERS is now deprecated and will generate an error if you
attempt to use it. The new option, should you choose to use it,
is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and
NKMEMPAGES_MAX allow the user to configure the bounds in the kernel
config file.
2000-02-11 19:22:52 +00:00
is
9bf09631c6
Only output message on really special DEBUG kernels.
2000-02-11 19:09:56 +00:00
tsubai
d696094217
Change ICU_LEN to 64.
2000-02-11 13:15:43 +00:00
itojun
82b005364c
don't increase both "no port on broadcast packet" and "no port" stat.
...
increasing both of them will result in negative number on udp
"delivered" stat on netstat(8), since netstat computes number of delivered
packet by subtracting them from number of inbound packets.
2000-02-11 10:43:36 +00:00
thorpej
dc80cc068b
Move KERNBASE to 0xc0000000, giving the kernel a more-or-less full 1G
...
of virtual address space, leaving userland with 3G, and update comments
to match the new reality.
We knew we were going to have to bite this bullet eventually, and there
are a couple of outstanding PRs related to this issue (9389 and 9313).
Complete solution to those PRs is going to involve some sort of run-time
decision on how large kmem_map should be, as well as changing some data
structure allocation strategies in UVM. However, this change will at
least allow the PR submitter to simply throw resources at the problem.
2000-02-11 07:00:11 +00:00
itojun
5d257be455
make assumption in rt_msg1 (len <= MHLEN + MLEN) explicit.
...
panic if not satisfied.
2000-02-11 06:11:03 +00:00
itojun
46dfa55555
fix in-kernel packet forwarding loop (till TTL becomes 0) when:
...
- a packet is delivered to an address X,
- and the address X is configured on my !IFF_UP interface
- and ipforwarding=1
NetBSD PR: 9387
From: nrt@iij.ad.jp
2000-02-11 05:57:58 +00:00
takemura
160bf15b09
Add com0's power control ID.
2000-02-11 03:20:17 +00:00
simonb
2db5581a4c
Declare the mcclock_pad32_busfns variable as extern.
2000-02-11 02:36:16 +00:00
oster
255608f126
Add support for a "RAID" partition type.
2000-02-11 02:04:42 +00:00
thorpej
29ae6dbe05
We're given a K1SEG address already.
2000-02-11 01:32:42 +00:00
thorpej
5f9e257c5a
Fix a couple of printf format botches. port-hp300/9388, Steve Peurifoy.
2000-02-10 23:02:16 +00:00
aymeric
dc0ce1249b
fix interrupt handling
...
I still get lost interrupts on the A1200, but the problem is certainly
elsewhere (not in wdc_amiga).
2000-02-10 15:51:59 +00:00
itojun
ff0fe5df65
fix ip4 protosw.
...
gif interface and gre interface should be able to coexist.
2000-02-10 14:44:28 +00:00
tsubai
1dc2d9d399
Don't display "NetBSD disklabel". This message appears too many times
...
if more than two or three disks exist.
2000-02-10 12:33:45 +00:00
chopps
d8595b9af3
map common memory 8 bit for cis scan when following longlinks.
2000-02-10 09:01:52 +00:00
chopps
44b423d73b
always map attr memory 8 bit, since its defined that way.
2000-02-10 09:00:19 +00:00
sato
18452e3667
- add GPIO related comments.
...
- add IBM WorkPad z50 buttons.
2000-02-10 08:45:44 +00:00
sato
709f6f50a2
show edge/level infomation in attach message.
2000-02-10 08:37:07 +00:00
sato
e19b30ff0a
delete \n in cpu_model.
2000-02-10 08:34:08 +00:00
mjacob
9621e6be50
Reset maxstray count if we get a good interrupt for a level.
2000-02-10 07:45:43 +00:00
mjacob
13e13336b2
Allow (re)setting of maxstrays after establishment of a shared interrupt.
...
This allows sporadic stray interrupt counts to be reset by an acknowledgement
of the same interrupt.
2000-02-10 07:45:02 +00:00
mjacob
4821b5ae2f
Guard against trying to disable an interrupt where we'd dereference a
...
bad pointer.
2000-02-10 04:31:36 +00:00
sato
1dd1e143a9
add machine model name to cpu_model.
2000-02-10 02:15:01 +00:00
sato
549e292ae4
update MINYEAR.
2000-02-10 02:06:16 +00:00
sommerfeld
d129ec5214
Fix typo in error message
2000-02-09 23:25:15 +00:00
aymeric
a10113c83a
fix a couple of things to (hopefully) make this work on the A1200
2000-02-09 22:27:20 +00:00
joda
d40e2b51ee
add detach code
2000-02-09 22:15:57 +00:00
sommerfeld
39db0e9c7e
Three MULTIPROCESSOR + LOCKDEBUG fixes:
...
1) fix typo preventing compilation (missing comma).
2) in SLOCK_WHERE, display cpu number in the MP case.
3) the folowing race condition was observed in _simple_lock:
cpu 1 releases lock,
cpu 0 grabs lock
cpu 1 sees it's already locked.
cpu 1 sees that lock_holder== "cpu 1"
cpu 1 assumes that it already holds it and barfs.
cpu 0 sets lock_holder == "cpu 0"
Fix: set lock_holder to LK_NOCPU in _simple_unlock().
2000-02-09 16:46:09 +00:00
enami
e00270524e
ASIX AX88190 support (Planex FNW-3700-T and Melco LPC3-TX) from FreeBSD/PAO3.
2000-02-09 15:40:23 +00:00
enami
67bc20747a
Support Xircom CompactCard Ethernet CFE-10.
2000-02-09 14:54:53 +00:00
enami
99f529f0b3
- Since all resources are mandatory, no need to manage individually.
...
- KNF some code.
- Factor out some code into function.
- Disestablish an interrupt handler when failed to enable card power.
2000-02-09 14:42:33 +00:00
takemura
968822bd48
The pwctl writes ZERO as on if active=0.
2000-02-09 14:39:06 +00:00
enami
dc87f2899f
- No need to keep track enable/disable state here. The smc91cxx.c also
...
manages it.
- Disestablish an interrupt when failed to enable card.
- Don't say I'm enabled if failed to enable card.
2000-02-09 13:40:42 +00:00
enami
94a6dd9169
Regen.
2000-02-09 13:33:22 +00:00
enami
947c0fee74
Add an entry for Planex FNW-3700-T.
2000-02-09 13:32:23 +00:00
enami
e729d284ad
Add an entry for Melco LPC3-TX.
2000-02-09 13:20:55 +00:00
tsubai
502ad73200
Add wsfont options.
2000-02-09 13:10:15 +00:00
tsubai
dcb9f03bd3
Use dev/rasops instead of dev/rcons.
2000-02-09 13:08:35 +00:00
enami
e92b285eaf
Add an entry for Xircom CompactCard Ethernet CFE-10.
2000-02-09 13:07:45 +00:00
takemura
0694de05ed
Fix Work Pad z50's entry.
2000-02-09 13:03:31 +00:00
tsubai
0867c09dad
Change va_arg definition when __lint__ is defined.
2000-02-09 12:54:47 +00:00
itojun
19e9558eaf
sync with extended scoped address syntax change.
2000-02-09 12:27:03 +00:00
sato
ad591b78f4
CLOCK_RATE: 256-> 128.
...
reduce timer interrupts because hpcmips machines are lower cpu power.
2000-02-09 10:41:18 +00:00
nisimura
9fb475bc29
Missing commit to reflect ioasicreg.h merge.
2000-02-09 08:37:43 +00:00
nisimura
43917001c7
- Add missing "opt_ddb.h" to dc.c and dtop.c (oh, boy)
...
- Nuke irrelevant "dcvar.h" and "tc.h" inclusion from dc.c
- Put '#if NRASTERCONSOLE > 0' around scc_lk201_cnattach().
2000-02-09 08:29:40 +00:00
itohy
0a1d6b1357
Make it compile with options DEBUG.
...
Reported by Kawamoto Yosihisa (PR #9379 ).
2000-02-09 07:57:52 +00:00
shin
7f5a7c00ac
fix include file.
...
<netinet6/ip6.h> -> <netinet/ip6.h>
2000-02-09 05:48:26 +00:00
itojun
53e333c935
honor ifa reference counting.
2000-02-09 03:34:01 +00:00
itojun
541b446bfa
for more strict rfc2367 conformance, move netkey/keyv2.h into net/pfkeyv2.h
...
(net/pfkeyv2.h used to just include netkey/keyv2.h).
netkey/keyv2.h includes #error only for several days, to inform
of file path change. after that I plan to nuke the file.
2000-02-09 03:27:29 +00:00
thorpej
f9e531f1e4
Don't force BWX on Pyxis by default; it's just not reliable enough.
2000-02-09 01:39:20 +00:00
itojun
59d74f3d21
to improve RFC2553/2292 compliance, and promote use of
...
RFC2553/2292-compliant header file path, now the following headers are
forbidden:
netinet6/ip6.h
netinet6/icmp6.h
netinet6/in6.h
if you want netinet6/{ip6,icmp6}.h, use netinet/{ip6,icmp6}.h.
if you want netinet6/in6.h, you just need to include netinet/in.h.
it pulls it in.
(we may need to integrate them into netinet/in.h, but for cross-BSD code
sharing i'd like to keep it like this for now)
2000-02-09 00:54:55 +00:00
itojun
4f53db2499
optimize mbuf allocation for ip/tcp/tcpopt part.
2000-02-09 00:50:40 +00:00
thorpej
ec02ebc8a0
Adjust for IOASIC register changes.
2000-02-09 00:33:03 +00:00
tsubai
a62753d0b7
Make OF-2.x can also find root device.
2000-02-08 20:02:13 +00:00
augustss
76c14cd322
Don't stall the control pipe on error.
2000-02-08 18:46:03 +00:00
augustss
e922214fb2
Use NULL instead of 0.
2000-02-08 18:45:27 +00:00
thorpej
3bc7ce8d31
Cast bus_size_t to u_long for printing.
2000-02-08 18:40:51 +00:00
tron
73286f8d56
Fix printf() format string.
2000-02-08 18:31:02 +00:00
mycroft
2a2d421881
Forgotten part of chopps\'s i82365_isasubr.c commit.
2000-02-08 17:56:58 +00:00
mycroft
ac0db48a13
In light of the previous change, whack the clearing of CSC_INTR
...
again.
2000-02-08 17:53:48 +00:00
mycroft
eb071839ea
The final read of the CSC register does not appear to be needed any
...
more.
2000-02-08 17:48:39 +00:00
chopps
d12c4012f1
deal with loops that we get stuck in due to unhandled interrupts.
2000-02-08 17:14:29 +00:00
mycroft
5abb516b1e
Be more careful with the CSC_INTR register while probing.
...
Make some output more specific.
2000-02-08 16:59:52 +00:00
bouyer
f522d6f1ee
Supports "USR 3CP5609 PCI 16550 Modem", from Kent Polk.
2000-02-08 16:26:23 +00:00
bouyer
b3cffb232f
regen
2000-02-08 16:24:00 +00:00
bouyer
b614c6a569
Add US Robotics vendor ID, and USR 3CP5609 PCI 16550 Modem product ID.
...
From Kent Polk.
2000-02-08 16:22:37 +00:00
jdolecek
e20ce57cd6
Store also attribute identifier in the filehandle structure, so that
...
proper file attribute (a.k.a. "resource fork") is picked up when
the filehandle is mapped back to filesystem object.
This should make attributes working on NFS-exported NTFS filesystems
or other layered filesystems using filehandles.
2000-02-08 16:17:58 +00:00
tsutsui
6968a454bd
Add news1200 support.
...
Based on a patch from Koichi NISHIWAKI <k-nis@ba2.so-net.ne.jp>
2000-02-08 16:17:28 +00:00
tsubai
b933f19ea2
Flush cache before rebooting to preserve msgbuf.
2000-02-08 12:57:11 +00:00
enami
34d63b5623
Since we now only allocate this one, no longer necessary to check and free().
2000-02-08 12:56:00 +00:00
enami
1658944ebe
- Don't rely on implicit declaration.
...
- Sinc wi/ existing coding style.
2000-02-08 12:51:30 +00:00
enami
c7573d517e
- Bail out from attach stage if failed to enable card, number of iospace
...
or memspace is unexpected, failed to map iospace or failed to configure
the controller properly.
- Disestablish an interrupt handler if failed to enable card.
2000-02-08 12:49:12 +00:00
tsubai
d97ae29629
Enter power saving mode in idle loop on 603, 750, and 7400.
...
603 uses doze mode, 750 and 7400 use nap mode.
2000-02-08 12:49:06 +00:00
tsubai
9cba8a13d1
Use -Os -mmultiple to reduce size.
...
Add cbb and pcmcia/cardbus devices.
Nuke BUFPAGES=800 kludge.
2000-02-08 12:13:50 +00:00
tsubai
c7d216c2da
Add missing locators.
...
Add tlp at cardbus.
2000-02-08 12:10:56 +00:00
augustss
e0c519464a
Add methods for ucom to call back on open/close.
2000-02-08 09:18:01 +00:00
tsubai
45fe0e4077
Fix typo.
2000-02-08 08:08:43 +00:00
erh
8613a0edaa
Regen.
2000-02-08 06:36:46 +00:00
erh
a87f862d24
Add Allied Telesyn AT-1500, lance ethernet.
2000-02-08 06:36:29 +00:00
nisimura
42e4e9fd0c
Add the missing piece of previous mod.
2000-02-08 04:35:03 +00:00
fair
554df2b994
remove kern_logsigexit being "on" for DIAGNOSTIC
2000-02-08 04:13:51 +00:00
mycroft
bc1ca7aa3f
Add a bunch of debugging code, #ifdef FPU_DEBUG, which attempts to
...
trap FPU usage in the kernel.
2000-02-08 03:16:00 +00:00
mycroft
a3b8d596d5
Sync with GENERIC.
2000-02-08 03:10:21 +00:00
thorpej
bfdc6759fb
Don't rely on the receive descriptor's BCAST/MCAST status bits. Test the
...
Ethernet destination address to see if it's multicast.
2000-02-08 00:22:13 +00:00
thorpej
52a2804a5c
Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
...
the maximum transfer size for the specified DMA channel. Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
pk
1d46ce41ea
Enable the hme ethernet driver.
2000-02-07 21:24:48 +00:00
tsubai
b9ff560bcc
Don't print "... not configured" message for non real devices
...
like escc-legacy.
2000-02-07 20:30:05 +00:00
thorpej
5c83cd7b9c
Bump version to 1.4S -- b_rawblkno.
2000-02-07 20:19:13 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
jonathan
b19c0fbb0a
Make kernel SOMAXCONN patchable. Will add sysctl once we
...
decide on namespace.
2000-02-07 18:43:26 +00:00
thorpej
cb18849e48
Make APM use a kernel thread rather than a callout, and provide a
...
mutex between the thread and a user process attempting to do APM
operations.
2000-02-07 17:36:59 +00:00
tsubai
cf532aa7eb
Move CFLAGS and CPPFLAGS to {bootxx,ofwboot}/Makefile to compile installboot
...
without -D_STANDALONE.
2000-02-07 16:26:59 +00:00
leo
6328fac75d
Add bootm_init() prototype.
2000-02-07 14:36:42 +00:00
veego
aa4732525f
Fix from Darren Reed for the test failure of f11.
2000-02-07 13:58:00 +00:00
pk
de608f33e1
Don't use PROM the virtual address (if any) for the device registers;
...
they are not reliably mapped. Also, unmap registers if the device
cannot be configured properly.
2000-02-07 11:44:15 +00:00
augustss
a534cd4254
Correct John Markus Bjørndalen's horribly mangled name in a comment.
2000-02-07 09:40:37 +00:00
augustss
a8365d0e29
Use pcmcia_devinfo().
2000-02-07 09:36:27 +00:00
augustss
e2ab50484b
Add a pcmcia_devinfo() function (akin to pci_devinfo). It generates a
...
string suitable for printing in the attach message.
2000-02-07 09:35:29 +00:00
itojun
2687887f38
s/DIAGNOSTIC/DEBUG/
2000-02-07 06:15:16 +00:00
itojun
85cdd5f08e
remove IPv6 router renumbering prefix information in the kernel
...
when all the interface addresses are gone.
this should remove dangling structure when:
# ifconfig lo0 inet6 3ffe::1 prefixlen 64 alias
# ifconfig lo0 inet6 3ffe::1 -alias
is performed.
2000-02-07 05:48:11 +00:00
itojun
1148e4715f
correct SIOCAIFADDR_IN6 failure recovery in point-to-point case.
2000-02-07 05:42:59 +00:00
itojun
49bed394bd
add more sanity check against mbuf length.
...
use log() for DAD related kernel message.
2000-02-07 05:42:28 +00:00
itojun
45b89333e4
close comment.
...
From: Kazuto Ushioda <x-y-z@3si.co.jp>
2000-02-07 03:51:59 +00:00
jonathan
e9a4467c58
Fix thinko in previous revision: it wouldn't catch deassert.
...
Revert the code inside the new test to the previous-but-one revision.
2000-02-07 02:17:18 +00:00
jonathan
2da22cf2c5
Check for DCD status change interrupts which signal PPS events, even
...
if the line discipline is ignoring carrier (e.g., via comparam()'s
setting of sc->sc_msr_mask). Move PPS timestamp outside the normal
status-change processing, and ignore sc_msr_mask when testing
for PPS events.
2000-02-06 23:23:37 +00:00
mhitch
93be165768
Remove an "#if 0" I seemed to have missed, to include wd* devices in the
...
search for root filesystems.
2000-02-06 21:45:03 +00:00
msaitoh
96250cd570
fix the calculation bug for the LMA of bss.
2000-02-06 16:53:57 +00:00
eeh
8636e8eef7
Update for compat_netbsd32.
2000-02-06 16:49:51 +00:00
eeh
70694ad4bb
Add new P_32 flag for processes running 32-bit emulation.
2000-02-06 16:47:57 +00:00
eeh
cde9dba8ab
Add support for -current's ELF32 exec format.
2000-02-06 16:45:56 +00:00
thorpej
72ecabeb4d
In if_detach(), call PRU_PURGEIF for *every* protocol within a domain
...
that has a usrreq entry point. Each protocol may have its own PCB
tables that need to be purged of references to the interface.
2000-02-06 16:43:33 +00:00
takemura
06aa6ffcb9
Delete dupicated 'z50'.
2000-02-06 14:02:42 +00:00
msaitoh
986d236119
remove COMPAT_NOMID stuff
2000-02-06 13:13:20 +00:00
itojun
90736ab608
fix include pathname for better rfc2292 compliance.
2000-02-06 12:49:37 +00:00
frueauf
23774a37c9
remove unused variable *dp.
2000-02-06 11:14:56 +00:00
itojun
51219dabc9
to be more rfc2292 complient, move ip6.h and icmp6.h into netinet.
...
(netinet6/{ip6,icmp6}.h is non-standard path - these files should go away)
it was not possible to use cvsmove in this case.
when you try to look at history, chase it toward netinet6/{ip6,icmp6}.h.
2000-02-06 11:11:29 +00:00
takemura
1a8f3a2b75
Add platid_name() which retrieves the platform name.
2000-02-06 08:47:03 +00:00
cgd
dbeafc9dbe
clean up some printfs
2000-02-06 08:14:13 +00:00
itojun
76064f5770
don't chase mbuf pointer when it is NULL.
2000-02-06 08:06:43 +00:00
fair
c75556a12f
Add kernel logging of processes which exit on signals which can
...
cause a core to drop, and whether the core dropped, or, if it did
not, why not (i.e. error number). Logs process ID, name, signal that
hit it, and whether the core dump was successful.
logging only happens if kern_logsigexit is non-zero, and it can be
changed by the new sysctl(3) value KERN_LOGSIGEXIT. The name of this
sysctl and its function are taken from FreeBSD, at the suggestion
of Greg Woods in PR 6224. Default behavior is zero for a normal
kernel, and one for a kernel compiled with DIAGNOSTIC.
2000-02-06 07:29:56 +00:00
dbj
a4746f91c3
choose first keymap that matches.
...
Otherwise, the NEC MobilePro 770 chooses the wrong one.
This is consistent with keymap searching order from before revision 1.12,
although I haven't investigated why choosing the last match instead of the first
causes the MobilePro 770 to lose
2000-02-06 06:29:22 +00:00
thorpej
17c346b9e1
Changed cacheable -> prefetchable. [sync w/ swiz]
2000-02-06 04:07:18 +00:00
elric
28bdaf37d9
Changed cacheable -> prefetchable.
2000-02-06 03:52:27 +00:00
thorpej
113a379cba
Implement pffinddomain(), and use it as appropriate.
2000-02-06 02:54:15 +00:00
thorpej
97eba73a40
If we have a Pyxis with the DMA page crossing bug, don't allow coalescing
...
of adjacent DMA segments.
XXX This is still not perfect... but making it perfect will probably
require additions to the bus_dma interface and the ISA autoconfiguration
interface.
2000-02-06 01:26:50 +00:00
thorpej
0c4f8a876b
Implement an internal DMA map flag which prevents coalescing of
...
adjacent DMA segments.
2000-02-06 01:23:30 +00:00
veego
5b4e17169b
Bring in the support to boot from ide drives. This is from dec_eb164.c.
...
This is needed for newer firmware and to boot from slave drives.
2000-02-05 22:22:41 +00:00
veego
541c31000e
Sync the ide support with dec_eb164.c rev 1.32:
...
Add the support to boot an ide slave drive and to boot from the secondary
ide channel.
Michael Hitch gave me the final hint how to do that and Havard Eidnes
tested it with his slave drive.
This should fix pr#8808 on the DS10.
Also remove one ideboot check which wasn't removed when I removed it from
dec_eb164.c.
2000-02-05 22:19:19 +00:00
veego
b92d490f3e
Add the support to boot an ide slave drive and to boot from the secondary
...
ide channel.
Michael Hitch gave me the final hint how to do that and Havard Eidnes
tested it with his slave drive.
This will also fix pr#8808 on the DS10 when I commit the changes to
dec_6600.c.
2000-02-05 22:14:42 +00:00
jdc
be5d89da1a
Add definition for default swap partition (libahdi uses this).
2000-02-05 21:14:55 +00:00
nathanw
958e687d69
LP64 printf fixes.
2000-02-05 20:02:42 +00:00
mhitch
d9b42dd1fc
At long last, the MI wdc glue for the Amiga. Tested on my A4000, but not
...
on an A1200 yet. Configuration of wdc/atapi in GENERIC is currently
commented out to prevent the suprise of an IDE drive changing from sd0
to wd0 (and the first real SCSI drive changing from sd1/sd1 to sd0).
2000-02-05 18:46:28 +00:00
mhitch
db4859bcd8
Regen (with commented MI wdc stuff)
2000-02-05 18:42:49 +00:00
chopps
6d8c9583a7
indent this file
2000-02-05 18:42:37 +00:00
mhitch
915731c9ea
Add commented out configuration for MI wdc.
...
Note: enabling these will cause disk device renumbering if any IDE were
present (i.e. if sd0 was IDE drive 0, that drive will become wd0 and sd0
will be the first real SCSI drive.
2000-02-05 18:41:58 +00:00
chopps
101848d272
run this through indent with some comment cleanup -- more knfing needed.
2000-02-05 18:20:08 +00:00
augustss
494c9affea
Support detach.
2000-02-05 18:11:55 +00:00
itojun
9e9f3e15e4
need PRC_IF{UP,CHANGE}.
2000-02-05 18:11:41 +00:00
itojun
7604e315fb
sync with reality.
...
- getipnodeby{name,addr} is now non-issue as RFC2553bis will be dropping it
- if_detach is mostly done
- add some items
2000-02-05 18:05:33 +00:00
minoura
8759daabe7
Sync.
2000-02-05 14:35:41 +00:00
kleink
36e6bc645e
Improve namespace test macros a bit.
2000-02-05 14:04:36 +00:00
pk
b527153dd7
Ensure uniqueness of EEPROM device without reference to cf_unit.
2000-02-05 12:32:57 +00:00
itojun
1f8497dc18
fix route cleanup on interface removal. (not sure why -Wall did not catch it)
2000-02-05 07:58:54 +00:00
itohy
b4f060a0bc
Mark LFS partitions as "BSD lfs ".
...
Now, swap partition should be "BSD swap" unless COMPAT_14.
2000-02-05 07:38:10 +00:00
enami
645c869160
Add detach support for ethernet portion.
2000-02-05 04:44:00 +00:00
enami
9267b8f018
Remove unnecessary includes.
2000-02-05 04:41:49 +00:00
enami
abac10f360
Yet anothor workaround for hpcmips. I guess real problem is somewhere else...
...
With rev.1.37, my MobileGearII for DoCoMo finds both ne0 and wd0
even if pcic_delay_sleep is 1.
With rev 1.40, it fails to find wd0.
2000-02-05 04:34:36 +00:00
cgd
be8a1b19f0
more CR/NL -> NL conversion (some crept in)
2000-02-05 03:25:26 +00:00
cgd
7d16ac338c
add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
...
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
cgd
253b179629
clean up (group, sort) __HAVE_* defines
2000-02-05 00:07:30 +00:00
tsubai
c343256107
Make the new findroot code work on PowerMac 9600 (OF-1.0.5).
2000-02-04 18:29:15 +00:00
dante
2a46aa5d9a
Fix "unused variable" warning when FAILSAFE option is defined
2000-02-04 16:23:14 +00:00
dante
b4edda97d5
Fix a compilation bug due to a missing parenthesys
2000-02-04 15:43:46 +00:00
itojun
f91ee608a9
avoid calling in6_control(SIOCDIFADDR_IN6) from interrupt context.
...
it is not supposed to work.
logging fix: add "\n" to some of log() in in6_prefix.c.
improve in6_ifdetach(). now almost all structure depend on ifnet
will be cleared up.
possible loose ends:
- cached route_in6 in static varaiables needs to be cleared as well
- there are ifaddr manipulation without reference counting,
which should be fixed
we still see panics after card removal, though... not sure what is left.
(sync with kame)
2000-02-04 14:34:22 +00:00
minoura
a7ec5e9634
Add Cyrix MediaGX(m) identification.
...
Thanks to INOUE Yoshinari <pf5y-inue@asahi-net.or.jp>.
2000-02-04 14:21:33 +00:00
augustss
e037c568cb
Update for cardbus unmap changes.
2000-02-04 13:48:23 +00:00
augustss
1facb42e6e
Make the driver work even if DIAGNOSTIC is not set.
2000-02-04 13:43:56 +00:00
dante
29be498635
Add a list of all the currently supported boards
2000-02-04 13:16:22 +00:00
enami
9c688fd57c
s/SYSTEM/SYSMEM/; so that this file compiles again.
2000-02-04 11:04:46 +00:00
joda
8006211b18
fix previous broken commit of the 8-bit memory handling (spotted
...
by Christian Hopps); this will enable 16-bit memory accesses for devices
that can handle it
2000-02-04 10:18:28 +00:00
itojun
0f09f8dd2b
cope with card insertion/removal during suspend-resume session.
...
(removal/ insertion after suspend and before resume)
How should we deal with card swaps?
2000-02-04 09:45:34 +00:00
enami
730f15bb19
Free resources on attach failure.
2000-02-04 09:31:07 +00:00
enami
82235a8673
Actually, no need to keep track of sc_ih.
2000-02-04 09:30:28 +00:00
itojun
10509171fb
avoid some of typecasting from in6_ifaddr to ifaddr.
2000-02-04 08:54:04 +00:00
chopps
2a1352a5b3
enable the card before establishing the interrupt to avoid being called
...
with stray interrupts before we are ready.
clear the card interrupt after enabling the card
2000-02-04 08:45:41 +00:00
chopps
70e711cd60
only enable interrupts from the controller if the socket is enabled
2000-02-04 08:42:47 +00:00
chopps
d344dd94ab
keep track of the enabled state of a socket
2000-02-04 08:42:07 +00:00
haya
ded26ac3e4
Now cardbus_mapreg_unmap() has been implemented in
...
sys/dev/cardbus/cardbus_map.c. The detech function in
sys/dev/cardbus/if_tlp_cardbus.c uses cardbus_mapreg_unmap().
2000-02-04 07:59:20 +00:00
explorer
59db45db2a
bring over WEP mode from FreeBSD/OpenBSD
2000-02-04 07:48:29 +00:00
tsubai
6bfa70b9c6
Remove an unused variable.
2000-02-04 07:48:11 +00:00
explorer
4a5667f967
undo part of the previous commit. I'll just steal the code from freebsd,
...
to minimize differences between the drivers.
2000-02-04 06:22:52 +00:00
chopps
9ff702157c
doh, remove debugging leftover (forcing irq 15 to always be avail).
2000-02-04 05:30:55 +00:00
enami
af9710cf6e
Disestablish an interrupt if failed to enable the card.
2000-02-04 04:54:51 +00:00
enami
ed0f41807d
- Call if_deactivate instead of smc91cxx_disable when deactivating.
...
- Fix typo in comment.
2000-02-04 04:05:50 +00:00
tsubai
a09eb087b6
Treat "chaos" like a bandit.
2000-02-04 03:40:42 +00:00
enami
6f28840935
Remove no longer necessary old code.
2000-02-04 03:40:00 +00:00
enami
3ff6804bdd
Release the resource on attach failure.
2000-02-04 03:38:06 +00:00
explorer
de4f36ae63
Add encryption structure definitions -- it's interesting tht the gold card
...
has 128 bit encryption, but the key space is 14 * 8 bits, or 112 bits...
I wonder where the other 16 bits comes from?
2000-02-04 02:03:02 +00:00
cgd
942a54e0c1
replace the *_lookup table entry match/lookup functions in all of
...
these drivers with a single common function (which supports tables
of variable-sized structures). Things are mostly as they were before:
tables are terminated by entry with NULL name, etc. There's also
the ability to call a driver-specific match function which can be used
to augment the table lookup.
2000-02-04 01:27:12 +00:00
cgd
dd84ecc7ac
Implement ratecheck(), a function which can help programmers implement
...
rate-limited actions. See ratecheck(9) for details of its use.
2000-02-03 23:04:45 +00:00
enami
0bff6e573a
Cosmetic change; use IRQUNK instead of -1 always.
2000-02-03 23:03:11 +00:00
cgd
dff236064f
collect all of the forward struct definitions in one place, and then
...
sort -u them. (there were duplicates, some even duplicating those at the
top of the file!)
2000-02-03 22:44:11 +00:00
chopps
71d64756c2
wrap optimized copy routines in an ifdef
2000-02-03 21:27:35 +00:00
dante
834e04377c
Remove ADW_*_DISABLE options. Now they are described in the adw.4 man page
2000-02-03 20:31:42 +00:00
dante
cbacaf54d7
Add AdvanSys U2W (LVD) boards support
2000-02-03 20:28:26 +00:00
itojun
ccba141601
add notice on site-locals. typo fix. (sync with kame)
2000-02-03 19:57:13 +00:00
drochner
f458367b3f
cosmetics: remove double semicolon, whitespace
2000-02-03 19:53:03 +00:00
cgd
11ee920b54
rename printf.c to winprintf.c, nuke inclusion of libsa's printf.c
...
in winprintf.c, and directly include libsa's printf.c in the project.
2000-02-03 19:46:21 +00:00
cgd
dd74df567d
no more need for one-liners to include libsa .c files. just name them
...
directly in the project file.
2000-02-03 19:32:37 +00:00
itojun
af14db5a91
- if_detach
...
- xx_control calls from interrupt thread should be removed
- LP64
2000-02-03 19:29:20 +00:00
cgd
ed17755cec
clean up lists: get rid of bogus extra spaces, backslash -> slash
...
(vc doesn't care, in paths of source files), sort, etc.
2000-02-03 19:27:56 +00:00
tsubai
e29a886cd6
* Split bandit and grackle.
...
* Add UniNorth support.
Now pcibus is attached like:
bandit0 at mainbus0
pci0 at bandit0 bus 0
...
2000-02-03 19:27:43 +00:00
cgd
ff6ae74e98
tolerate newlines in the list variables, and clean up the config files
...
to match. no more ridiculously long lines, now!
2000-02-03 19:16:47 +00:00
itojun
b89812ff7f
- Don't reuse ip6 header portion as reassembly pointer, to be friendly
...
with LP64 arch. (not tested on LP64, sorry)
- add comment on reass rule
- some other cleanups
NetBSD PR: 9340
From: iwamoto@sat.t.u-tokyo.ac.jp
(in sync with kame)
2000-02-03 18:13:01 +00:00
dante
fd2fd888ef
Add AdvanSys U2W host adapters
2000-02-03 16:56:23 +00:00
dante
787999d9e4
Add AdvanSys U2W boards
2000-02-03 16:51:42 +00:00
itojun
579e538de0
fix promisc mode for smc91cxx again.
2000-02-03 16:20:49 +00:00
kleink
82464e46d6
Add a C99-style va_copy macro.
2000-02-03 16:16:06 +00:00
joda
5b67628108
regen
2000-02-03 13:58:55 +00:00