deberg
cab3766f0b
add comments to ZS_CONSOLE_ABORT and SERCONSOLE, and convert to
...
options<SPACE><TAB>NAME
2000-03-06 03:48:57 +00:00
perry
d97becf28e
Make Creative Soundblaster PCI 128's work -- from Masahiro Ishiyama
...
Note that on device close, there's a sharp pop that probably should be fixed.
Note also that the device is hanging the machine at times for brief
periods inside audio.c::audiogetinfo(), but I haven't yet figured out
why.
2000-03-06 03:18:11 +00:00
mark
60d1e515ef
Remove dead option POSTMORTEM.
2000-03-06 03:16:24 +00:00
mark
9b9e4e5a8f
defopt EBSA285 and FOOTBRIDGE.
2000-03-06 03:15:46 +00:00
mhitch
e87b3c7fb3
Use device_register() instead of dk_establish() to determine the boot
...
device. Works on a 3100 with both old and MI SCSI, on a 5000/25 built-in
IOASIC with both old and MI SCSI, on the 5000/25 PMAZ TC option card
with both old and MI SCSI, and with tftp boot on the 5000/25.
2000-03-06 03:15:28 +00:00
mhitch
9ace38f7dc
Move the now emptry dk_establish() back to disksubr.c where it originally was.
2000-03-06 03:14:28 +00:00
mhitch
7f9b4522d1
A common device_register() is used instead of a separate version for each
...
of the different DECstation models.
2000-03-06 03:11:43 +00:00
mhitch
0993165c93
Define __HAVE_DEVICE_REGISTER, since pmax now has device_register().
2000-03-06 03:11:05 +00:00
mhitch
e65044e30d
Get rid of hook for dk_establish() - pmax will now use device_register().
2000-03-06 03:08:32 +00:00
mark
c74ea28746
Support the W89C940F alternative ID.
2000-03-06 03:07:08 +00:00
mhitch
5ff4195532
Also use __HAVE_DEVICE_REGISTER for the device_register() prototype, rather
...
than a list of architecture defines.
2000-03-06 02:48:51 +00:00
mark
9e870c5a88
Regenerate from pcidevs.
2000-03-06 02:32:31 +00:00
mark
1a0eab6fa3
Add SYMPHONY 83C553 PCI-ISA bridge.
...
Add alternative ID for Winbond W89C940F.
2000-03-06 02:31:19 +00:00
eeh
4a8841ada2
Try to page align all segments up to 4MB pages.
2000-03-06 01:29:04 +00:00
matt
4ab785a0e1
it is pretty close to working. the scsibus probes now.
2000-03-05 23:20:25 +00:00
matt
c43bdd0b91
Fix a bug with < 1 pages mappings.
2000-03-05 21:51:47 +00:00
matt
1de30b727b
fix bug in bus_space_subregion
2000-03-05 21:22:48 +00:00
thorpej
23c5667cfe
Use ANSI-style function declarations for the various inline functions
...
here. Addresses port-alpha/9056.
2000-03-05 18:46:14 +00:00
shin
84b24dcb3a
cosmetic change.
2000-03-05 10:03:16 +00:00
soren
d610ec4cb0
Add Norwegian keymap from Haavard Lygre.
2000-03-05 08:56:53 +00:00
takemura
775240e015
Delete #ifdef USE_RASTERCONS lines, which are not used.
2000-03-05 08:49:06 +00:00
mrg
6bf88d7e9a
add a "struct device *booted_device" so that raidframe can link.
2000-03-05 08:21:57 +00:00
elric
23af6e53fd
Moved things around a bit so that TGA2 can be used as a console.
...
Addresses PR: port-alpha/9542
2000-03-05 07:57:52 +00:00
takemura
45db29b1b3
Delete #ifdef USE_RASTERCONS lines, which are not used.
2000-03-05 06:24:33 +00:00
itojun
eb95b863d0
correct IPsec SA lookup, so that we can always get/use
...
proper SA. cached SA can be wrong, specifically when you use sendto().
sync with KAME change, From: Greg Troxel <gdt@ir.bbn.com>
2000-03-05 05:42:33 +00:00
takemura
303401ce32
Change bus_addr_t and bus_size_t from u_int32_t to u_long.
...
Add -Werror option to kernel Makefile.
2000-03-05 05:22:12 +00:00
takemura
2aad5afc67
Add ISA DMA support entries. (It's dummy. I don't know if it work or not.)
2000-03-05 04:34:06 +00:00
elric
1dfdd10eae
I got the mode sense bits of the monitor wrong they needed a twiddle (~).
2000-03-05 02:30:57 +00:00
nathanw
2569290833
Now that pnpbios_io_unmap() exists, use it.
2000-03-04 23:08:54 +00:00
mycroft
8781f55d6a
Invert the APM_NO_POWER_PRINT flag, and make sure it's off by default.
2000-03-04 21:37:23 +00:00
uch
062700843c
Make it easier to cross-compile with this. moreover.
2000-03-04 19:52:26 +00:00
uch
937f50798e
adjust retry count for TX3922
2000-03-04 19:36:34 +00:00
uch
06f8a39446
timeout when DMA interrupt lost.
2000-03-04 19:35:36 +00:00
tsubai
4c75cb9b65
INSTALL kernel config.
2000-03-04 19:30:17 +00:00
matt
2b3b8b5d50
it's closer to working now.
2000-03-04 18:20:53 +00:00
matt
ad61c16f86
Oopps. forgot to commit this.
2000-03-04 16:59:18 +00:00
ragge
8e7bc4bd01
Change some install options. From Todd Whitesel.
2000-03-04 16:21:05 +00:00
ragge
3c7a7bf0e0
Install the boot programs in /usr/mdec also. From Todd Whitesel.
2000-03-04 16:17:46 +00:00
takemura
ac09284927
Change 'irq' locater encoding. You can use port# 0. You should use 0xff
...
for unspecified port#. Also, You can specify interrupt level/edge, high/low
and through/hold.
2000-03-04 13:43:19 +00:00
tron
c98328e9df
Regen from "pcidevs".
2000-03-04 13:24:24 +00:00
tron
947ec630de
Add AMD Athlon chipset related devices. Patch supplied by Dave Sainty in
...
PR kern/9533.
2000-03-04 13:23:26 +00:00
aymeric
7cd55062c0
do as if bus_space_read_4() returned an int, although it just calls panic.
2000-03-04 11:49:18 +00:00
uch
bac061b47f
sync with my latest.
2000-03-04 11:41:48 +00:00
uch
461e3d82a4
adjust SIBSCLK to 9.216MHz (TX3922)
2000-03-04 11:39:29 +00:00
nisimura
03bf9a2dc3
Remove #ifdef'ed out PMAX_CACHEFLUSH_FORCES_WBFLUSH codes in cache
...
flush ops which has had no effect for long time.
2000-03-04 11:37:31 +00:00
tsubai
30370336dc
Use ring buffer on tx side, too.
2000-03-04 11:17:00 +00:00
elric
f939818426
Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
...
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.
2000-03-04 10:27:59 +00:00
elric
b16807c51a
Graphics card independant Bt485 code, derived from dev/pci/tga_bt485.c.
2000-03-04 10:25:57 +00:00
elric
c4019af322
Definitions of standard TGA monitors as used by DEC.
2000-03-04 10:25:07 +00:00
elric
7428bb6ffd
Definition of struct monitor, which contains syncs, and dot clocks.
2000-03-04 10:24:34 +00:00
elric
fec44d6f55
Header for a generic RAMDAC that can be reused between different
...
graphics cards.
2000-03-04 10:23:39 +00:00
nisimura
1036d33c39
Fix mipsmate SCSI lossage made by my previous change.
2000-03-04 10:14:39 +00:00
ragge
78609773fc
Allow PAGE_SIZE et al to be defined as constants instead of variables.
2000-03-04 08:41:59 +00:00
nisimura
f58f6334cb
Cosmetic cleanups to hide local objects.
2000-03-04 08:25:24 +00:00
scottr
027952236a
Two changes to facilitate (better) PowerBook 1xx support:
...
- Use a mask to account for address space "wrapping"
- Check supervisor data space if we can't find a PTE in user data space
2000-03-04 08:16:16 +00:00
scottr
a5d6bd9c7a
Add get_pte_s() to search the supervisor space.
2000-03-04 08:10:51 +00:00
matt
efc9b37ead
expunge vm_offset_t/vm_size_t
2000-03-04 07:28:44 +00:00
matt
e0df4ffcae
expunge vm_offset_t and vm_size_t.
...
add bus_dma support for the vs4000 dma translation map (sgmap).
enhance the vsbus for the lance to work with it.
remove the sgmap init code from ka46/48/49.c
2000-03-04 07:27:47 +00:00
nisimura
c9fc3f7c80
Mention a bit about possible HZ interporation improvement in microtime().
2000-03-04 07:09:09 +00:00
nisimura
8098245d56
Mention a bit about various issues NetBSD/arc must solve.
2000-03-04 06:54:17 +00:00
nisimura
4e461d33ef
Have a local variable to match/attach mainbus insteading using ->cf_unit.
2000-03-04 06:35:02 +00:00
nisimura
ccacacf17c
Nuke unnecessary prototype declaration of readdisklabel().
2000-03-04 06:21:15 +00:00
nisimura
076916eb49
Use cdev_decl() for cdev prototype declaration, fixing errors in the 4th
...
argument of mmopen() and mmclose().
2000-03-04 06:14:47 +00:00
nisimura
13441f2429
It's not necessary to have #if NSII > 0.
2000-03-04 06:05:36 +00:00
oster
1231bd6d14
Umm... don't allow attempts to configure the same RAID device multiple times.
...
The check was there, but the return() was missing :(
2000-03-04 06:03:21 +00:00
mhitch
3b06f6f887
Fix boot device detection. Device probes are not done when adapters are
...
configured, but after all adapters have been configured. When multiple
adapters are present, only the last configured adapter could be matched
to the boot device slot. The adapter attach routines now check if that
adapter slot matches the boot device slot and saves the softc pointer
for that controller. Then when the disks are configured, dk_establish()
matches the appropriate controller.
2000-03-04 05:43:51 +00:00
mhitch
8bf4d36694
Fix boot device detection. Device probes are not done when adapters are
...
configured, but after all adapters have been configured. When multiple
adapters are present, only the last configured adapter could be matched
to the boot device slot. The adapter attach routines now check if that
adapter slot matches the boot device slot and saves the softc pointer
for that controller. Then when the disks are configured, dk_establish()
matches the appropriate controller. Also change the rz boot device test
to include a check for the adapter so that it works when booting from a
disk on adapters other than the first one.
2000-03-04 05:42:55 +00:00
nisimura
400fee7b5a
Remove never used memory error address register manipulation
...
inherited from DECstation 3100 and other debris floating around.
This file will go away naturally when interrupt establish procedure
and dispatcher are well coordinated in sane way of encapulating
target implementation differences.
2000-03-04 05:21:20 +00:00
oster
0049933f0f
Reorganize some comments.
2000-03-04 04:22:34 +00:00
oster
194aba4e41
Garbage collect the (already disabled) "random" queue type.
2000-03-04 03:27:13 +00:00
oster
612e2e8f92
Nuke an unneeded #define.
2000-03-04 03:22:17 +00:00
thorpej
308b6b91d5
Quiet a noisy diagnostic.
2000-03-04 02:39:58 +00:00
matt
7258e6c6b7
First pass at NCR53c9x attachment for VS4000. It doesn't work yet.
...
But I want to save the work.
2000-03-04 00:24:06 +00:00
matt
1bce76807d
it's a bit cleaner now. it also gets rid of the iomap init in
...
ka4[689].c
2000-03-04 00:22:37 +00:00
matt
2150f75fb0
First pass. need to add hw sgmap allocation via bus_dmamem
2000-03-03 22:57:49 +00:00
is
d8bf2eb8ef
- we didn't write enable toe config1-3 registers before trying to set the
...
media.
- read out original settings to find out what the defaults (EEPROM) for this
board were, instad of hardwiring to auto.
XXX the first might need further refinement. At least on my boards, 10baseT
doesn't work for 10baseT, only AUTO.
2000-03-03 21:37:18 +00:00
uch
630279a800
add device file interface for UCB1200
2000-03-03 19:54:34 +00:00
mhitch
40b13c16c0
Do the Ultrix label check in readdisklabel() instead of in rz.c. Ultrix
...
disks are now usable with the MI SCSI sd devices.
The install mini-root adjustment and the default partitioning still needs
to be moved into readdisklabel().
2000-03-03 17:51:26 +00:00
mhitch
9eaf0ad1d4
Allow a kernel (i.e. GENERIC) to be configured with rz disks with the SII
...
driver and sd disks with MI ASC driver.
2000-03-03 17:46:49 +00:00
itojun
be78177ba2
comment fix, sync with kame.
2000-03-03 17:42:14 +00:00
uch
8e89a8db7e
cosmetic change
2000-03-03 17:09:57 +00:00
soda
09a5eed1e8
NEC RISCstation 2250 (NEC-RD94) support.
...
contributed by Shuichiro URATA <ur@a-r.org>.
2000-03-03 13:08:42 +00:00
itojun
38441b4ae3
remove unnecessary ttl initialization which I mistakingly bringed in
...
during KAME merge (this is part of WIDE's expeirmental reass code...)
NetBSD PR: 9412
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
Fix from: ho@crt.se
itojun was notified from: theo
2000-03-03 13:07:42 +00:00
soda
a031341f9b
NEC RISCstation 2250 (NEC-RD94) support.
...
contributed by Shuichiro URATA <ur@a-r.org>.
2000-03-03 12:50:19 +00:00
soda
c616c9e0fe
use callback function to set up secondary cache related things on arc.
...
XXX - perhaps it is better to separate cache related initialization
from mips_vector_init().
2000-03-03 12:43:52 +00:00
soda
d4b9359964
do not install bus.h, kbdreg.h and pio.h..
...
since currently these are not useful/needed from userland.
2000-03-03 12:38:25 +00:00
soda
65102815b0
cosmetic change.
2000-03-03 12:35:40 +00:00
soda
0ded8728bc
typo in comment
2000-03-03 12:32:43 +00:00
soda
a39a58d0fb
update
2000-03-03 12:32:15 +00:00
soda
0fd8c949e4
prepare for wscons
2000-03-03 12:31:33 +00:00
soda
e47c4a5f51
add some MI devices, including raidframe, tun, ...
2000-03-03 12:29:57 +00:00
nisimura
3c5d39d73b
Make clearer a bit how proc0's USPACE is intialized.
2000-03-03 08:36:20 +00:00
mycroft
1d915f4130
Allow my disk to actually spin down using `-o async' again.
...
Note: This uses the same questionable logic as vfs_bio.c to check MNT_ASYNC.
Something needs to be done about this.
2000-03-03 05:21:03 +00:00
oster
88a8d06a0b
Use the common disk allocation code, rather doing things the old way.
2000-03-03 03:47:17 +00:00
oster
142175b1a1
Minor formatting cleanup.
2000-03-03 03:10:03 +00:00
castor
67e96268ad
Fix a /dev/kmem crash when vaddr + count wrapped and snuck through
...
the error check, courtesy of Jeff Smith <jeffs@geocast.com>.
2000-03-03 02:33:21 +00:00
oster
7b1139520e
More minor cleanup.
2000-03-03 02:04:48 +00:00
oster
87f46374bb
Minor cleanup. No functional changes.
2000-03-03 01:46:36 +00:00
augustss
2dda67d4a2
Fix typo in argument to ratecheck().
2000-03-02 15:49:29 +00:00
augustss
d6c4ac7ff2
Use ratecheck() to limit error messages on disconnect.
...
Break out some common functionality.
2000-03-02 12:37:50 +00:00
enami
e924f6f853
Minor cleanups.
2000-03-02 10:29:22 +00:00
itojun
d7e8edfdcd
configure ::1 to loopback dstaddr.
...
honor ifa_refcnt when configuring loopback.
2000-03-02 09:45:01 +00:00
itojun
2dc247fc34
make CMSG_ALIGN always synchronize with kernel's idea of ALIGNBYTES.
...
ancillary data alignment will be ALIGNBYTES, not sizeof(long) - 1, from now.
CMSG_xx will NOT resolve into constant. if you use CMSG_xx to allocate
arrays, you'll lose.
bump shlib minor for libc.
NOTE: if you are on top of arch with ALIGNBYTES != sizeof(long) - 1,
you need to recompile IPv6-related binaries. there is no way to guarantee
backward compat in this aspect. sorry for this. this should be the last
backward compat breakage for IPv6-related ancillary data manipulation.
(we still have PR 9516 for unix-domain sockets...)
2000-03-02 07:41:49 +00:00
itojun
52c11b789a
bump kame revision id
2000-03-02 07:15:39 +00:00
itojun
36649fea92
don't configure ifa_dstaddr for non-pointopoint interface,
...
so that we won't be returning them from routing socket manipulation.
2000-03-02 07:14:52 +00:00
itojun
ded4e9540a
properly handle notifies from icmp6, so that we can properly reflect
...
redirects/unreach to transport layer. (sync with latest kame)
2000-03-02 06:42:52 +00:00
thorpej
754bba7b6c
Avoid a bug in GCC which manifests itself when processing unaligned
...
IP options. Problem pointed out by Matt Hargett and Erik Fair, analyzed
by me.
2000-03-02 06:07:36 +00:00
enami
48721f291a
Fix typo and thinko in previous commit.
2000-03-02 05:54:22 +00:00
enami
027db8bf87
Add ifmedia support so that dhcp happy. Also, add nwid support.
2000-03-02 05:00:47 +00:00
enami
a5921b902e
Check if device is active in the interrupt handler and the one second
...
tick handler.
2000-03-02 01:21:56 +00:00
thorpej
285a315e99
Simplify the winlist code.
2000-03-01 23:40:26 +00:00
thorpej
ac1b683642
Amend previous; pay attention to EX_CONF_MII on deactivate, too.
2000-03-01 20:53:11 +00:00
thorpej
448dfa4249
Only detach PHYs if we have MII in the first place, and remove a bunch
...
of #if 0'd code which was copied from the Tulip driver.
2000-03-01 20:51:50 +00:00
thorpej
54e0e80815
Cosmetic change.
2000-03-01 20:50:56 +00:00
thorpej
08483fcddc
When unmapping these on detach, pass the BAR to unmap (not the type of
...
the BAR!!)
2000-03-01 20:50:37 +00:00
groo
97be07a6c4
Remove probe/attach for PNP0C02. There are reserved motherboard regions.
...
Thanks to Adam Glass for catching this.
2000-03-01 20:24:53 +00:00
groo
866ee72838
Add pnpbios_io_unmap
2000-03-01 20:23:55 +00:00
augustss
3218dd992d
Protect the use of bpf_mtap so bpf isn't needed.
...
aue: Limit the number of error messages at disconnect by using ratecheck().
2000-03-01 19:00:51 +00:00
thorpej
7d57276982
Do partial lazy I-stream sync -- in the pmap_enter()/pmap_remove() cases
...
for now. More to come.
2000-03-01 18:29:04 +00:00
itojun
8f2f22b47c
increase kernel version to 1.4U (5 more to 1.4Z!)
2000-03-01 12:52:11 +00:00
itojun
04ac848d6f
introduce m->m_pkthdr.aux to hold random data which needs to be passed
...
between protocol handlers.
ipsec socket pointers, ipsec decryption/auth information, tunnel
decapsulation information are in my mind - there can be several other usage.
at this moment, we use this for ipsec socket pointer passing. this will
avoid reuse of m->m_pkthdr.rcvif in ipsec code.
due to the change, MHLEN will be decreased by sizeof(void *) - for example,
for i386, MHLEN was 100 bytes, but is now 96 bytes.
we may want to increase MSIZE from 128 to 256 for some of our architectures.
take caution if you use it for keeping some data item for long period
of time - use extra caution on M_PREPEND() or m_adj(), as they may result
in loss of m->m_pkthdr.aux pointer (and mbuf leak).
this will bump kernel version.
(as discussed in tech-net, tested in kame tree)
2000-03-01 12:49:27 +00:00
enami
13d92f98ce
Remove unnecessary asterisk in comment (probably it was comment leader of
...
multiline comment).
2000-03-01 03:51:29 +00:00
enami
543db3a000
Cosmetic changes.
2000-03-01 03:50:04 +00:00
thorpej
908f6bc4cd
Infrastructure for lazy istream sync in the pmap module:
...
- Add a bitmask for the CPUs which need an isync before this pmap returns
to userspace on that CPU.
- Define PMAP_USERRET(), a utility macro for userret() to use to process
the deferred isync, and call it as appropriate in userret().
2000-03-01 02:22:03 +00:00
thorpej
a192dc9c5b
PMAP_ISACTIVE() now takes the cpu_id. This serves two purposes:
...
- Everywhere it was used, the cpu_id was already computed, so this
saves computing it again.
- This will be needed for lazy istream sync.
2000-03-01 01:32:45 +00:00
ad
14050f197e
Make this compile in DEBUG/DIAGNOSTIC case.
2000-03-01 00:44:53 +00:00
augustss
ba4e755a9c
Change the cmd argument in {audio,mixer}_ioctl() to u_long.
2000-03-01 00:44:35 +00:00
thorpej
64911f1d2e
Use cpu_number() here instead of alpha_pal_whami().
2000-03-01 00:43:34 +00:00
matt
a1a05c5cf9
include <sys/cdefs.h> since <net/netisr_dispatch.h> needs __CONCAT
2000-03-01 00:17:17 +00:00
thorpej
fac7fc369f
Put machine check info in cpu_info in the multiprocessor case, and
...
just have one statically allocate machine check info structure in the
single processor config case.
2000-02-29 22:19:53 +00:00
thorpej
04d9239b1e
Reset mc_received after we've done a badaddr probe.
2000-02-29 21:42:54 +00:00
augustss
7d05674ba7
Distinguish between device and interface classes.
...
(I finally found a document that said that they were different.)
2000-02-29 21:37:00 +00:00
itojun
c47506aed1
more fix to ancillary data alignment. we need padding after
...
last cmsg_data item (see the figure on RFC2292 page 18).
2000-02-29 19:14:59 +00:00
augustss
8cc92d88cf
Add USB tty device.
2000-02-29 19:08:54 +00:00
hubertf
a6a5be8ccf
This driver also handles the 3COM 3COM HomeConnect Ethernet USB Adapter
...
(3C460), rev 1.00/2.05
2000-02-29 19:08:09 +00:00
hubertf
b95fbdaeb7
Regen
2000-02-29 19:07:33 +00:00
hubertf
eff003f7ce
add product ID for 3COM 3COM HomeConnect Ethernet USB Adapter (3C460),
...
rev 1.00/2.05
2000-02-29 19:06:40 +00:00
matt
352a87f7bd
fix a too agressive s/CIA/UBA/ (e.g change SPEUBAL back to SPECIAL) in the
...
header.
2000-02-29 17:42:32 +00:00
matt
8aaab5c387
add missing cpu dependencies
2000-02-29 17:13:27 +00:00
oster
8cde772948
Oops.. Need to note the parity status when we unconfigure.
...
Noted by Aaron J. Grier. (Thanks!)
2000-02-29 16:54:29 +00:00
itojun
5c1b7efe97
avoid copy-overwrite-copy on incoming udp4 checksum. use in4_cksum
...
which takes care of pseudo header checksum without overwrites.
2000-02-29 16:21:56 +00:00
nonaka
37eb9eebc2
Initial import prep port.
2000-02-29 15:21:20 +00:00
ad
c09a9a072f
Oops, pasto.
2000-02-29 11:14:46 +00:00
nisimura
6f5dadba1c
Cleanup warning comment which is now irrelevant. Reorder codes.
2000-02-29 09:03:30 +00:00
nisimura
d93aaefb84
- Have SYS_DEV_xxx device cookie symbols to select and install proper
...
interrupt handlers into intrtab[] array, rather than the idea of devices
in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 07:20:21 +00:00
simonb
4eb55e447c
Do the "<space><tab>" thing with the RAID_AUTOCONFIG option.
2000-02-29 06:32:20 +00:00
itojun
82ab98145f
ensure tcp window size does not overflow (16bit unsigned after window scale).
...
FreeBSD PR: 16914
2000-02-29 05:25:49 +00:00
nisimura
a6e403e50b
Remove unnecessary cast for kernend variable when grabbing proc0 USPACE.
2000-02-29 04:55:54 +00:00
nisimura
7eeaa2a1fa
NLE_PMAX symbol in le_pmax.h has gone.
2000-02-29 04:44:29 +00:00
nisimura
582e9de235
- Have SYS_DEV_xxx device cookie symbols to select and install proper
...
interrupt handlers into intrtab[] array, rather than the idea of devices
in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 04:41:47 +00:00
mhitch
19c22771f3
Check and clear the appropriate IOASIC SCSI interrupt bits when in polled
...
I/O mode. Kernel dumps will now work with the IOASIC SCSI devices.
2000-02-28 18:51:25 +00:00
thorpej
d788e0dbad
Make sure to initialize xs->req_sense_length (to 0). This appears to be
...
a historical leftover, and very few drivers actually look at it. But the
PCI `ncr' driver does, and if this field is not initialized to its default
value, that driver will fall over flat on its face when it attempts to get
sense data from a target.
2000-02-28 17:44:20 +00:00
itojun
03f0ac370f
make ICMPv6 redirect actually flush route cache in udp6/raw6 socket.
2000-02-28 16:10:52 +00:00
itojun
d8dfd96b2c
fix ICMPv6 redirect input. the bug can result in invalid ND entry.
2000-02-28 14:30:36 +00:00
itojun
cdea88d700
support draft-ietf-ipngwg-icmp-name-lookups-05.txt, drop support for
...
draft-ietf-ipngwg-icmp-name-lookups-04.txt.
There are certain bitfield change in 04 draft to 05 draft, which makes
04 "ping6 -a" and 05 "ping6 -a" not interoperable. sigh.
2000-02-28 13:48:50 +00:00
takemura
32817a3257
WSMOUSE_SCALIBCOORDS had not worked because ioctrl code was wrong.
2000-02-28 12:34:31 +00:00
itojun
bbe25244d0
remove some of cross-BSD portability #ifdef.
...
remove xxCTL_VARS, which is BSDI specific.
2000-02-28 12:08:21 +00:00
jdolecek
d28bd11715
unix2dostime(), dos2unixtime(): use value of rtc_offset to shift the time value
...
accordingly
Patch sent by Naoki FUKAUMI in kern/9497.
2000-02-28 10:43:08 +00:00
joda
c627d45cc3
(fxp_init): don't clear the FXPF_MII flag as this results in a panic
...
when detaching
2000-02-28 10:16:17 +00:00
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