jdolecek
86ae2ab1fc
Add ADEV_NOSENSE quirk for HITACHI CDR-7730.
...
Patch sent by Hume Smith in kern/9489.
2000-02-28 09:46:25 +00:00
mycroft
a87f80ad5f
Give the VPP bits better names.
2000-02-28 07:33:08 +00:00
mycroft
17f933f6ce
Add missing break that hosed multicast.
2000-02-28 06:44:52 +00:00
enami
d2b929f576
Fix naming think-o.
2000-02-28 05:30:19 +00:00
augustss
e0573deb3b
Another ID for ESS. From Dave Huang <khym@bga.com>
2000-02-28 00:22:33 +00:00
enami
8841a11f4d
- Disestablish an interrupt if failed to enable the card.
...
- If card isn't enabled, just set given information into softc. Addresses
PR#9457.
- Some cleanups and cosmetic changes.
2000-02-27 23:10:51 +00:00
enami
71df610aeb
Remove no longer necessary workaround for hpcmips.
2000-02-27 22:57:20 +00:00
augustss
10d9610df8
Make this driver actually work in NetBSD. From Castor Fu <castor@geocast.com>
2000-02-27 22:15:24 +00:00
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
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