simonb
bb33bb331d
Fix NRND == 0 case (unused variable).
2000-10-28 13:30:35 +00:00
tsutsui
d214b09b47
Increase initial Tx drain threshold to 512 bytes.
...
My macppc complains about transmit FIFO underrun every time.
2000-10-28 08:36:57 +00:00
itojun
5bbd7d495e
fix busy-wait logic against random number register. (missing semicolon)
2000-10-28 04:58:35 +00:00
itojun
73b4766cf2
do not panic on "ifconfig inet6 fe80::1 -alias". from Todd Fries.
...
KAME PR 295.
2000-10-28 03:46:21 +00:00
enami
31ac87f602
Don't use memory map of no entry. Instead, fallback into old way.
...
This fixes one of ``can't find end of memory'' panic on startup.
2000-10-28 02:29:35 +00:00
thorpej
3c01d4cbca
Add support for sampling the random number generator on
...
the 810, 815, 820, and 840 chipsets. From OpenBSD, modified
for NetBSD by me.
2000-10-27 22:49:21 +00:00
thorpej
4295299769
Regen.
2000-10-27 22:43:44 +00:00
thorpej
86342bb610
Add a bunch of Intel PCI chipsets. From OpenBSD.
2000-10-27 22:43:28 +00:00
matt
47b33af26f
Add openfirm device (for macppc & arm32(dnard)). Eventually so that
...
eeprom(8) can be use on systems with openfirmware.
2000-10-27 22:29:36 +00:00
thorpej
7f59704e6c
Support the second PCI bus on SeverWorks chipsets. From OpenBSD.
2000-10-27 17:55:18 +00:00
thorpej
2644e830b7
BIOS BUG WORKAROUND! The 82443BX datasheet indicates that the only legal
...
setting for the "Idle/Pipeline DRAM Leadoff Timing (IPLDT)" parameter
(bits 9:8) is 01. Unfortunately, some BIOSs do not set these bits properly.
Based on a hint from OpenBSD.
2000-10-27 17:47:44 +00:00
thorpej
1b15310aaa
Regen.
2000-10-27 17:37:02 +00:00
thorpej
24cba36ced
Add a bunch of Pequr (ServerWorks) products. From OpenBSD.
2000-10-27 17:36:44 +00:00
tsutsui
4774402d68
Use pool(9) for pmap structures.
2000-10-27 13:28:54 +00:00
sato
b674d1f521
when apm version is not 1.0,
...
use APM_BATT_FLAG_XXX type value instead of APM_BATT_XXX type value.
2000-10-27 08:19:37 +00:00
sato
e13d487465
- A/D converter port macro: PIUAB(n)
2000-10-27 08:13:54 +00:00
sato
cbebb75a68
- add VPRINTF().
...
- show pwctl giu bit for verbose.
2000-10-27 08:12:18 +00:00
sato
5cf5562de3
probe message use dv_xname.
2000-10-27 08:10:32 +00:00
sato
a15e59c0eb
enlarge ITE8181_LCD_ON_SELF_DELAY.
2000-10-27 08:09:15 +00:00
sato
720875ffea
correct comment.
2000-10-27 08:08:08 +00:00
sato
786287aac1
- add new event type: CONFIG_HOOK_SET/GET.
...
- add some new id in CONFIG_HOOK_PMEVENT.
2000-10-27 08:04:49 +00:00
nisimura
8a54846748
Fix errors in initializing the software copy of 256 entry colormap
...
stored in device softc. rasops_cmap[] array is orginazed in 256
iteration of 3 byte long RBG triplet, which does not match with
struct wsdisplay_cmap design.
2000-10-27 07:24:04 +00:00
jmc
7a615b0018
Remove usecount check in spec_open. It fails to catch VALIAS situations
...
and vfs_mountedon will handle them all correctly.
2000-10-27 06:28:27 +00:00
abs
1ee75cc4e0
Add:
...
makeoptions COPTS="-O2 -march=strongarm -mtune=strongarm"
2000-10-26 18:33:02 +00:00
ad
528e314143
Work around a fatal firmware bug on some boards. From msmith@freebsd.org.
2000-10-26 14:43:50 +00:00
abs
1bb1a44a90
Add (for StrongARM CPUs) commented out
...
makeoptions COPTS="-O2 -march=armv3m -mtune=strongarm"
2000-10-26 14:15:33 +00:00
onoe
226930604b
Add new numbers from IANA: 0x83 - 0xbd
2000-10-26 06:51:31 +00:00
wiz
75311ca708
Fix typo (thinko?), which didn't allow MRU to be set below the default
...
value (instead of the minimum value). Patch supplied by Stephen Degler
in PR #9945 , and reviewed by Ignatios Souvatzis.
2000-10-26 01:26:15 +00:00
haya
a4df364077
METHOD CHANGE: Use CIS_FUNCE data which is decoded by pcmcia_cis.c,
...
instead of decode cis tuple by itself. This change leads to suppress
one power-cycling.
2000-10-25 09:32:11 +00:00
haya
b44679b7ec
Bugfix: reset 16-bit pcmcia in chip initialisation sequence.
2000-10-25 09:15:58 +00:00
thorpej
9516ee90da
Split the UDP routines out of net.c.
2000-10-25 01:49:55 +00:00
thorpej
d05f0929dc
We only support Intel PMCs for now, so don't try and read them
...
on non-Intel CPUs.
2000-10-24 22:03:36 +00:00
augustss
a675063a0d
Add a hack to try and figure out if the TI UTUSB41 hub is bus powered
...
despite claiming to be self powered (it's important to know so that the
power budget can be met).
2000-10-24 15:01:26 +00:00
augustss
372ae0a636
The all time favourite hub, TI UTUSB41, doesn't report power right. :(
2000-10-24 14:57:35 +00:00
augustss
5cc8d65338
Adda quirk for hubs that do not report bus powered status in a normal way.
2000-10-24 14:56:09 +00:00
augustss
94e36acb29
Tell usbd_set_config_no() to be verbose. It's nice to know whyit fails.
2000-10-24 14:53:59 +00:00
augustss
71fc3f6ee2
Regen.
2000-10-24 14:51:51 +00:00
augustss
963138bceb
Add Apple's cool new mouse.
2000-10-24 14:51:24 +00:00
fvdl
ef6bdbccd8
Stay at splbio across the VBWAIT loop, as is done elsewhere in the
...
kernel. Avoids a possible race condition. Pointed out by
enami@netbsd.org , problem reported by deberg@netbsd.org .
2000-10-24 14:43:32 +00:00
tsubai
251bc81879
Change ofwboot entry address to 0x600000.
2000-10-24 12:18:33 +00:00
fvdl
dcf7889500
Do not accept vnode type changes to an active node. This may wreak
...
havoc if the server erroneously uses the same filehandle for
different files. This changes back revision 1.28; the PR that
that revision fixed doesn't apply anymore, it has been verified
not to be a problem with this change.
2000-10-24 12:02:04 +00:00
matt
04f534474c
Change a DIAGNOSTIC panic slightly to print the locked vnodes and to just
...
print a diagnostic but not panic.
2000-10-24 07:08:48 +00:00
explorer
7817cc2ba7
another Ricochet quirk, this time a well-known one. No device strings are provided from it.
2000-10-24 03:59:16 +00:00
castor
2a04de9c03
In mips3_TBIS(va) do not invalidate the other half of the JTLB entry if
...
the page is wired down. Flushing both halves of a wired TLB entry resulted
in hangs when in programs called for and released kernel memory
soon after being invoked. In particular, we see this when single-stepping
a process using GDB.
It would be better if we could arrange to use both halves of the TLB
entry for the PCB, but for some reason we frequently end up with things
on an odd page boundary.
2000-10-24 03:23:19 +00:00
bouyer
fc92601259
Fixes related to QUEUE FULL status:
...
- move status handling in siop_scsicmd_end(), it's better than in siop_intr()
- define 2 internal SIOP status, for "no status reported by device" and
reset condition
- add a list of "urgent" command, to be executed before the list of command
queued the normal way; this is used for command which got aborted
by a QUEUE FULL and have to be requeued in order.
- Don't accept to send a Q_TAG message not immediatly folowing a IDENTIFY
2000-10-23 23:18:10 +00:00
tsubai
756f954ef1
Fix Conner CFP1080 problem (pr 7612) and add debugging messages.
2000-10-23 21:04:27 +00:00
bouyer
cce4838c1f
Add ram size to struct properties, and pass it to the bus independant part.
2000-10-23 14:57:23 +00:00
bouyer
7777f61cbe
Rearrange for script changes (scheduler core in main script, command part
...
of the scheduler in command table).
Add tagged command queuing support.
2000-10-23 14:56:16 +00:00
bouyer
5113af09e3
Regen
2000-10-23 14:54:50 +00:00
bouyer
7ae5c097e5
Rearrange things a bit to have less jumps
...
Install the core of the scheduler in main script (so it's in RAM when there is
one), and avoid jump in the common case. The command part of the scheduler now
lives in host memory, with tables.
Add template for a tag switch.
2000-10-23 14:53:53 +00:00
bouyer
3b7321e1c0
Allow conditionnal branch like "JUMP foo, IF FALSE"
...
The branch will never be taken as is, but the driver can patch the script.
2000-10-23 14:51:51 +00:00
ad
c5e192cd50
Add `major' for lsu.
2000-10-23 11:32:30 +00:00
ad
96562d2d4f
Add missing splx() call.
2000-10-23 11:27:52 +00:00
fvdl
dfcc2820fa
Add rtk at pci, some laptops have it.
...
Add cardbus network cards to INSTALL_LAPTOP (oops, they're largely
the point of INSTALL_LAPTOP..).
From Noriyuki Soda.
2000-10-23 09:31:49 +00:00
sato
b394074d8c
- change constant to static variable for
...
ite8181 access delay parameter after lcd power on.
- ITE8181_WINCE_CMAP.
use presetting cmap by pbsdboot.exe(temporally)
2000-10-23 09:03:31 +00:00
chs
be0d1c56f1
fix nfs iod management so we don't lose i/os when iods die.
2000-10-23 07:18:27 +00:00
jdc
9f329676c9
Correct `off by one' error when testing against size of disk.
2000-10-23 06:56:00 +00:00
jeffs
ade1f640e1
Go to to splhigh() in trap when panicing before calling debugger as break
...
handling does.
2000-10-23 05:49:05 +00:00
onoe
644aa13a51
Fixed the value of TULIPF_DBO; which was accidentaly shared with the same
...
value of TULIPF_BLE. Pointed out by Enami-san.
2000-10-23 04:05:21 +00:00
itojun
cb1745c4f9
make IFA_STATS really work on IPv6.
2000-10-23 03:45:25 +00:00
itojun
80db86454a
fix IFA_STATS.
...
- use hashed in_ifaddr lookup.
- correct endianness.
2000-10-23 03:42:18 +00:00
pk
bee12f6a67
Restore revision 1.102.
...
I hope it sticks this time..
2000-10-22 21:28:27 +00:00
explorer
365f7337ea
make ucom into a random source, type TTY
2000-10-22 19:01:44 +00:00
uch
b84e48b8bd
forgot to set HPCFB_ACCESS_REVERSE.
2000-10-22 12:49:27 +00:00
uch
30373f3eb1
reorder color map adequately.
2000-10-22 12:44:16 +00:00
uch
fc9212e594
new I/O modules framework for TX based system.
2000-10-22 10:42:31 +00:00
uch
c3ceefe48c
reverse color support.
2000-10-22 10:33:01 +00:00
uch
a9869a4ed5
fix comment. s/DECstation/hpcmips/
2000-10-22 09:38:23 +00:00
explorer
eb27dda01d
Add a new quirk: ASSUME_CM_OVER_DATA.
...
Set this on the Metricom Ricochet GS USB modem.
This particular modem breaks if the USB command to enable the feature
CM_OVER_DATA. Since it appears to wake up in that mode already,
just pretend it is already on, and don't try to set it.
Since this commit is happening over my Ricochet modem, I assume it works
now.
2000-10-22 08:20:09 +00:00
scottr
a7a5cd8399
Replace the call to macfb_init() when attaching a non-console fb device
...
with a call to macfb_clear().
[The purpose of macfb_init() is almost exclusively to initialize the
raster console blitter. We really, really do not want to do this unless
we are actually initializing the console device, else we'll give rcons
the attributes of the last-seen fb device. These will not necessarily
correspond to the attributes of the actual console device!]
2000-10-22 05:05:39 +00:00
mjacob
0a481d850d
fix SBus bursting *correctly* this time
2000-10-22 03:04:50 +00:00
tsutsui
e000111847
Initialize pmap->pm_refcount properly in pmap_pinit() and
...
add simple_locks where pmap->pm_refcount are refered.
This should fix a long-standing "out of space kmem_map" panic bug on sun3x.
2000-10-21 14:10:25 +00:00
bouyer
2ebf1a0cd0
Ops, sync the script DMA map when the script RAM *don't* exists.
2000-10-21 13:56:17 +00:00
toshii
0036e468ef
In lfs_fastvget(), initialize i_lfs_effnblks correctly.
2000-10-21 13:53:25 +00:00
takemura
a2c5be7787
Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
...
The version of the binaries get 1.16.3.
2000-10-21 13:51:01 +00:00
takemura
c6304c954b
Add LIBSA_RENAME_PRINTF to solve conflict with prototype definition of
...
printf() and etc in header files of Windows CE native compiler.
2000-10-21 13:48:06 +00:00
takemura
5e9e3fbf13
Add menu entries for CASSIOPEIA 'E-65' and 'for DoCoMo'
...
The version gets 1.16.2.
2000-10-21 09:03:57 +00:00
takemura
64e4d7108e
Add platform IDs, Cassiopeia 'E-65' and 'for DoCoMo'.
2000-10-21 07:30:34 +00:00
takemura
9154a8ec27
BUGFIX: PCKBD_LAYOUT had not been effective.
2000-10-21 07:27:41 +00:00
mjl
986b950535
Mark packets from gre as coming from appropriate gre interface, not
...
transport interface.
2000-10-20 20:43:26 +00:00
perseant
26f26aafcd
Do not increment the clean segment counter, if a segment that the cleaner
...
is trying to clean is already clean (e.g., if two lfs_cleanerds are running
at once.)
2000-10-20 17:48:05 +00:00
eeh
ad3ec5f6af
Fix hang in 32-bit kernels caused by relocation of KERNBASE.
2000-10-20 16:43:54 +00:00
ad
833dea96d1
- tsleep()/wakeup_one() will hurt when under load, so use a queue instead.
...
- Don't copy to or from the aligned buffer unless there's a need to.
2000-10-20 15:14:25 +00:00
ad
f0049a2ac4
ca -> lsu
2000-10-20 12:04:02 +00:00
ad
5e0c8a6d51
- ca -> lsu
...
- Note twe.
2000-10-20 11:47:43 +00:00
pk
0e7d945483
This file is no longer used.
2000-10-20 11:31:59 +00:00
pk
2c6b19bec4
Add new-line to md attach message.
2000-10-20 11:28:04 +00:00
pk
4dd761fc83
Adjust md root filesystem size.
...
Enable MFS.
2000-10-20 11:24:48 +00:00
pk
d037bc4f59
Change to relocation addresses that currently work on all machines.
...
boot programs at alternative addresses no longer built and installed
by default.
2000-10-20 11:21:08 +00:00
bouyer
e999ecae48
Support ETHERCAP_VLAN_MTU. Tested on a sparc 2 with:
...
le0 at sbus0 slot 0 offset 0xc00000 level 5: address 00:00:3b:86:19:92
le0: 8 receive buffers, 2 transmit buffers
2000-10-20 09:40:26 +00:00
mrg
0c6aa8d3ed
ensure DMA mappings are not mapped streamable. fixes ethernet problems on
...
ultrasparc sbus class machines. from eeh.
2000-10-20 06:08:02 +00:00
mrg
3af567c485
rework to use bus_dmamem_map() then bus_dmamem_load(), rather than
...
bus_dmamem_load_raw() then bus_dmamem_map().
tested on SS2 and SS5 and sbus cards.
2000-10-20 05:57:50 +00:00
mrg
cb17e80035
fix a comment.
2000-10-20 05:47:03 +00:00
simonb
25f61791dd
Only install wsconsio.h, wsdisplay_usl_io.h, wsksymdef.h and wsksymvar.h
...
into /usr/include/dev/wscons.
2000-10-20 05:32:47 +00:00
mrg
82d7f3e331
#include <machine/sparc64.h> for prom_printf() prototype.
2000-10-20 05:32:35 +00:00
oster
d349cdf1ef
Move disk_busy() and disk_unbusy() to more sane locations. Values
...
reported by 'systat iostat' and friends are now much more correct for
RAIDframe devices. Thanks to Andrew Doran for poking me about this,
and for suggestions on and review of the changes.
2000-10-20 02:24:45 +00:00
itojun
9183e2dc4e
remove #ifdef TCP6. it is not likely for us to bring in sys/netinet6/tcp6*.c
...
(separate TCP/IPv6 stack) into netbsd-current.
2000-10-19 20:22:59 +00:00
minoura
aa8045ce9c
Use up-to-date (newly installed) header files when DESTDIR is set.
2000-10-19 16:17:41 +00:00
ad
16a062538b
Nuke unused includes, sort decls.
2000-10-19 15:31:20 +00:00
ad
e05c79ba66
Regen.
2000-10-19 15:29:14 +00:00
ad
5110b7e58d
Add Compaq IEAS.
2000-10-19 15:28:50 +00:00
ad
23f6f01a0d
ca -> lsu
2000-10-19 14:35:41 +00:00
ad
15e25fe73f
- ca -> lsu
...
- Hook in twe.
2000-10-19 14:32:20 +00:00
ad
67fe5fbbb4
Update for lsu; untested.
2000-10-19 14:28:46 +00:00
ad
66f3f07ca5
ca -> lsu
2000-10-19 14:27:53 +00:00
ad
dc579413e1
Add DTYPE_LSU.
2000-10-19 14:27:20 +00:00
ad
76e8f8edfe
ca -> lsu
2000-10-19 14:26:41 +00:00
ad
e9b69699e0
Hook in twe.
2000-10-19 14:24:44 +00:00
ad
9813a10184
Driver for the 3ware Escalade family of RAID controllers.
2000-10-19 14:11:30 +00:00
ad
b3434771a3
El-cheapo disk driver for RAID controllers. If this bugs you, let me know.
2000-10-19 14:06:02 +00:00
mrg
f39b5cf92e
wrap long lines.
2000-10-19 12:25:04 +00:00
leo
c9b9b0253d
%%<reg> -> %<reg>
2000-10-19 12:15:53 +00:00
pk
5e2d2660fc
In ufs_makeinode(), set the new vnode type to VNON before calling vput().
2000-10-19 10:55:35 +00:00
nisimura
0c497d25f4
Add wsmouse support.
2000-10-19 10:36:32 +00:00
nisimura
1b3cb15ca9
Fix errors in mouse event handling;
...
- convert LMR bit pattern into RML since wsevent counts 0 for the leftmost
mouse button.
- found hardware reports mouse button state in negated.
2000-10-19 10:35:34 +00:00
nisimura
ad74c7dbd6
- Put comment about wsevent structure counts 0 for the left most mouse
...
button with a bit coding improvement.
- signed char -> int to hold integer values. Contributed 16 insn savings.
2000-10-19 10:27:04 +00:00
bouyer
d239df5374
Adapt for script change: don't assume Ent_lun_switch_entry == 0
2000-10-19 07:22:06 +00:00
bouyer
8561c00a0a
Regen
2000-10-19 07:20:33 +00:00
bouyer
67618a69ae
Move restore_scntl3 before the lun switch, to ease freeing of unused lun
...
slots.
2000-10-19 07:20:16 +00:00
thorpej
5247e9db0b
Regen.
2000-10-19 05:52:15 +00:00
thorpej
24477b4281
Add the ICS Advent PCI-WDT500/501 watchdog timer boards.
2000-10-19 05:51:34 +00:00
mrg
bc4dd913e7
#if 0 unused code.
2000-10-19 05:44:39 +00:00
mrg
d66f9f3321
add a cast to fix a warning.
2000-10-19 05:38:35 +00:00
mrg
88c611ff12
- remove an unused variable
...
- in db_setpcb(), update 'struct proc *p' each loop iteration. (found by
gcc warning).
2000-10-19 05:30:29 +00:00
mrg
1191037add
remove unneeded cast.
2000-10-19 05:28:50 +00:00
itojun
d11a1f9bae
kame 1.32 -> 1.33
...
in add_m6fc(), set interface list for all cases.
in response to a report from Hoerdt Mickael.
kame 1.31 -> 1.32
discard PIM register if the version of the inner packet is incorrect (i.e. IPv6)
(according to clarfication of recent discussion in the IETF pim ML)
2000-10-19 03:15:48 +00:00
itojun
edd876a35d
validate ICMPv6 too big message.
...
XXX too restrictive given frequent uses of sendto(2)
2000-10-19 01:14:13 +00:00
takemura
0b805455eb
Swap reft and light key.
2000-10-19 01:08:15 +00:00
itojun
27fcf101a1
prevent stack overwrite due to bzero() arg mistake. from msaitoh.
2000-10-19 01:07:42 +00:00
itojun
9288750911
memcpy -> bcopy, for sync with kame tree
2000-10-19 00:40:44 +00:00
pk
44f6bd0d7f
When relocating, there's no need to copy the BSS area.
2000-10-19 00:16:03 +00:00
pk
9d61e4d9a6
Account for the top-most 4 bits of obio addresses being zero on sun 4/100
...
machines, when inferring zs PROM device numbers from the physical address.
2000-10-18 23:55:11 +00:00
matt
76afe54fae
add a clarifying comment.
2000-10-18 21:38:52 +00:00
itojun
23a03329ef
verify ICMPv6 too big messages based on TCP pcbs, and/or IPsec SA.
...
TODO: udp6, and sendto consideration. as pmtud is mandatory for IPv6,
it is rather important for us to support those cases.
TODO: more testing
TODO: kame sync
2000-10-18 21:14:12 +00:00
itojun
d7ca32a335
s/mtudisc_callback/icmp_&/ so that we don't feel conflict between IPv4 and
...
IPv6 counterpart. (or icmp4_&?)
2000-10-18 20:34:00 +00:00
bouyer
f629a0ae67
Ops, add proper bus_dmamap_sync() calls for reselect switch operations.
2000-10-18 20:06:54 +00:00
itojun
9e8a83c2a4
count successful path MTU changes. good for debugging.
...
(there could be some discussion on when to increase the counter...)
2000-10-18 19:20:02 +00:00
thorpej
ea9b5a9106
Restructure the Path MTU Discovery code somewhat to avoid
...
entering rtentry's for hosts we're not actually communicating
with.
Do this by invoking the ctlinput for the protocol, which is
responsible for validating the ICMP message:
* TCP -- Lookup the connection based on the address/port
pairs in the ICMP message.
* AH/ESP -- Lookup the SA based on the SPI in the ICMP message.
If validation succeeds, ctlinput is responsible for calling
icmp_mtudisc(). icmp_mtudisc() then invokes callbacks registered
by protocols (such as TCP) which want to take some sort of special
action when a path's MTU changes. For TCP, this is where we now
refresh cached routes and re-enter slow-start.
As a side-effect, this fixes the problem where TCP would not be
notified when a path's MTU changed if AH/ESP were being used.
XXX Note, this is only a fix for the IPv4 case. For the IPv6
XXX case, we need to wait for the KAME folks.
Reviewed by sommerfeld@netbsd.org and itojun@netbsd.org .
2000-10-18 17:09:14 +00:00
bouyer
9d3f5d7fbd
Adapt for new lun switch script.
...
Implement SCBUSACCEL ioctl.
Snapshot of work in progress on tagged queuing: we can send/receive
queue tag messages. Infrastructure to manage multiple commands per
devices not here yet.
2000-10-18 17:06:52 +00:00
bouyer
b66120e445
Regen
2000-10-18 17:01:46 +00:00
bouyer
75246b83c0
Redo the target/lun sw in a better way, and handle queue tag messages.
2000-10-18 17:01:13 +00:00
bouyer
9836ff3913
Looks like frame size isn't checked; just say we can do VLAN MTU.
...
Tested with a SMC9432TX.
2000-10-18 16:49:13 +00:00
bouyer
8ec46d1679
Fix off by one error when using RETURN, WHEN/IF ...
2000-10-18 16:05:23 +00:00
onoe
26c411de58
Move APbus dependent unmapped DMA address stuff from bus.c to apbus.c
...
Support DMA mapping table with NEWSMIPS_DMAMAP_MAPTBL flag for APbus
(MAPTBL is not tested yet).
2000-10-18 12:47:37 +00:00
nisimura
90c97a3741
GENERIC root filesys had mistakenly typed nfs. Let it wildcarded.
2000-10-18 08:27:19 +00:00
itojun
06700c02aa
move tcp syn cache parameters from in_proto.c to tcp_subr.c.
...
it makes more sense and helps INET6-only (INET-less) build.
2000-10-18 07:21:10 +00:00
matt
b30ca78c9b
Packets have the FCS append so set M_HASFCS.
2000-10-18 05:43:13 +00:00
assar
23c5cbac2e
add missing semicolon to typedef of mode_t
2000-10-18 01:43:18 +00:00
christos
0628f0a87e
knf [from charles]
2000-10-17 23:38:55 +00:00
dmcmahill
07f0a9daf8
add '-s' option which will cause the installboot program to recalculate the
...
16 bit sun checksum. This flag is needed when making iso 9660 images which
are bootable on both sparc and vax machines.
2000-10-17 22:11:22 +00:00
itojun
3fe32f0197
use __P() in prototype for non-ansi compilers.
...
From: Michael Shalayeff <mickey@lucifier.remote.dti.net>
(we don't ansify it for kame code sharing)
2000-10-17 21:46:42 +00:00
itojun
1eb3565937
allow INET6-less build.
...
From: smd@ebone.net (Sean Doran)
2000-10-17 21:16:57 +00:00
christos
23c15f1578
Don't set P_SUGID if the calls to set{e,}{u,g}id(), setreuid(),
...
setgroups() did not result in actual changes. This has the nice
side effect that we don't needlesly allocate new credential and
resource limit data structures.
This is so that non setuid programs that call seteuid(getuid()),
don't end up setting P_SUGID, resulting in broken behavior [i.e.
non setuid ssh, doesn't read ~/.hostaliases...].
This is a good candidate for a pullup, if someone reviews it.
2000-10-17 20:53:45 +00:00
mjacob
cecccb23b2
quiet chatty boot messages
2000-10-17 17:39:10 +00:00
bouyer
f87b1573c3
Support ETHERCAP_VLAN_MTU by ignoring the EX_UPD_ERROR and EX_UPD_OVERSIZED
...
status bits. Tested with a 3c905-TX.
2000-10-17 16:16:52 +00:00
bouyer
5cc13a273b
Support ETHERCAP_VLAN_MTU. It seems the chip doesn't check the frame size.
...
Tested with a NetVin 5000 and a WD8013EBT.
2000-10-17 16:14:42 +00:00
tsubai
03251ccf07
Pass correct packet length to the upper layer.
2000-10-17 15:57:51 +00:00
sato
d9781d7eb9
add new keyword "initvalue" on pwctl device.
...
if "initvalue 0", set the port initialy "off".
if "initvalue 1", set the port initialy "on".
otherwise keep initial value.
2000-10-17 11:37:20 +00:00
haya
8130f0ec5d
Add a cis decoding function which decodes some CISTPL_FUNCE tuples for
...
disk and network functions.
2000-10-17 10:13:46 +00:00
msaitoh
7cc4fa0618
fix shpcic* iomem size from 0x4000000 to 0x1000000
2000-10-17 10:02:11 +00:00
msaitoh
c258b5a193
delete PMAP_NEW
2000-10-17 09:59:29 +00:00
nisimura
8a526d9513
Remove sc_lance_dmam field from ioasic_softc structure. It was obsoluted
...
by the removal of ioasic_lance_dma_setup() made in if_le_ioasic.c 1.15.
2000-10-17 09:45:49 +00:00
nisimura
f3d4ccd750
Have consistent #if's for machine dependent clauses.
2000-10-17 09:27:22 +00:00
nisimura
77124c056b
Have zstty/zskbd/zsms attached appropriately with standard hardware
...
configuration.
2000-10-17 08:58:42 +00:00
nisimura
1fd2521475
- efforts to merge TC Alpha and IOASIC DECstation, derived from Mattias
...
Drochner's work made in nisimura-pmax-wscons branch. Still a little
to do before useful for DECstation. MI softintr required.
- allow wildcard matchs to have zstty/zskbd/zsms in default hardware
configuration.
- abandon to check zs_ioasic_cnattach() return value; it doesn't fail.
- have zs_ioasic_cnattach() serial line parameters hardcoded inside, in
symmetry with zs_ioasic_lk201_cnattach().
2000-10-17 08:55:43 +00:00
oster
f9a49b32bf
Don't touch a failed component at all. Thanks to Robert Elz (kre) for
...
noting the problem and providing additional comments.
2000-10-17 03:39:41 +00:00
itojun
a7e15e4935
be more friendly with INET-less build.
...
XXX we need to do more to do a working INET-less build
2000-10-17 03:06:42 +00:00
thorpej
d839a91f5f
Add an IP_MTUDISC flag to the flags that can be passed to
...
ip_output(). This flag, if set, causes ip_output() to set
DF in the IP header if the MTU in the route is not locked.
This allows a bunch of redundant code, which I was never
really all that happy about adding in the first place, to
be eliminated.
Inspired by a similar change made by provos@openbsd.org when
he integrated NetBSD's Path MTU Discovery code into OpenBSD.
2000-10-17 02:57:01 +00:00
dmcmahill
028cdb58b4
add '-s' option which will cause the installboot program to recalculate the
...
16 bit sun checksum. This flag is needed when making iso 9660 images which
are bootable on both sparc and pmax machines.
this addresses PR port-pmax/10929
2000-10-17 01:54:30 +00:00
shin
6444136d42
cosmetic change.
2000-10-17 01:50:40 +00:00
thorpej
1da5a95dc5
Oops, wdt_msec is a short, not a char.
2000-10-17 00:34:41 +00:00
thorpej
0a2fa5320b
Back out rev. 1.83 -- it's causing problems with some pmap
...
implementations, so we'll have to spend a little more time
working on the problem.
2000-10-16 23:17:54 +00:00
thorpej
4b0c3e182c
Fix a typo in an constant name that is currently unused.
2000-10-16 23:03:45 +00:00
thorpej
a5e3251d5f
Register definitions for the Middle Digital, Inc. PC-Weasel
...
serial console board.
2000-10-16 22:59:24 +00:00
dmcmahill
7eb3c0fb47
make the MAGIC check be endian safe when clearing the bootstrap.
2000-10-16 13:47:17 +00:00
itojun
d01f7f6e2b
correct memory size to be mapped. PR 11242.
2000-10-16 10:26:41 +00:00
mjacob
c64069308b
Make changes relevant to changes in WWN defaults.
...
Also fix egregious bug where we would never decrement
the islocked recursion counter. I guess this means
that we don't recurse on this platform! All of this should
go away when we have real lock primitives to use in drivers.
2000-10-16 05:18:15 +00:00
mjacob
c7c2783178
Change some of the WWN macros- eliminate PORT_FROM_NODE_WWN and make
...
sure we have a DEFAULT_{PORT,NODE}WWN and ISP_{NODE,PORT}WWN macro
as a requirement for all platforms.
2000-10-16 05:16:56 +00:00
mjacob
ffdbddbd79
Add in commented-out hiwater measurement.
...
Remove egregious older bug which had us refusing to log into
fabric devices unless they were NL ports. Whuff.
2000-10-16 05:15:55 +00:00
mjacob
298ec0ecd9
Clarify/cleanup how node and port names are derived from nvram. Remove
...
clause 2 of licence. Remember to print initiator ID (LOGINFO level).
2000-10-16 05:15:05 +00:00
mjacob
7cc31292b3
Turn on 32 byte bursting for ISP
2000-10-16 05:13:13 +00:00
mjacob
3607efd3d7
Remember to establish default PORT WWN. Add in some LOGDEBUG2 messages
...
for the dma mapping code.
2000-10-16 05:12:26 +00:00
mjacob
8ddb5fd594
roll SBus f/w to latest released level (1.37)
2000-10-16 05:10:37 +00:00
sato
59c8220584
DEBUG_FIND_COMPORT code. (by ngc@ff.iij4u.or.jp)
2000-10-16 03:32:44 +00:00
erh
5b09e159e7
Add sys/proc.h so this compiles.
2000-10-16 03:18:04 +00:00
mjacob
7088593e82
Hmm- probably really ought to put ses into sparc GENERIC, since sparc
...
machines are one is very likely to run into SES units (what with all
the D1000's && A1000s out there now). I'll do it in sparc64 as soon
as I get that running for myself.
2000-10-16 01:29:06 +00:00
wiz
c374cadf43
Get RELEASEDIR setting from /etc/mk.conf. Fixes misc/11104 by Markus Kurek.
2000-10-15 22:42:49 +00:00
thorpej
4318834442
Don't trim off the FCS, pass it up.
2000-10-15 19:56:31 +00:00
matt
cf67b6ff59
When discarding oversized frame, say how long it was.
2000-10-15 19:49:55 +00:00
explorer
b4bbac9584
add Ricochet GS USB modem
2000-10-15 17:53:17 +00:00
itojun
d7a216bb96
suppress warning on nd6_storelladdr failure. the failure could happen
...
easily when we have routing table with too many entries. sync with kame.
2000-10-15 15:39:11 +00:00
bouyer
29fdeefaff
Don't try to handle SIOCSIFADDR/SIOCADDMULTI/SIOCDELMULTI if a vlan/vlanif
...
hasn't been configured (prevent a panic in arp_ifinit when setting an
IP addr with no vlan/vlanif).
2000-10-15 11:58:26 +00:00
ragge
7ac8ee6f59
By accident, a previously unused bit in the PTE got used as wired bit.
...
Because of this kvtophys() of wired pages did set the leftmost bit, causing
the pager to hang while swapping. This is now fixed by using another
free bit in the PTE as wired bit instead.
This fixes PR#11121.
Many thanks to Chuck Silvers that found what the problem was!
2000-10-15 11:00:38 +00:00
minoura
7bb188de0c
WSCONS_DEFAULT_TYPE is obsolete; use VGA_CONSOLE_SCREENTYPE instead.
2000-10-15 10:08:00 +00:00
dmcmahill
339897211a
make this be endian independent. The installboot program now works correctly
...
on big endian machines as well as little endian machines.
2000-10-15 03:14:24 +00:00
bjh21
b4ef973eab
IDE hard discs seem to work -- turn them on by default.
2000-10-14 23:46:40 +00:00
bjh21
83666f01fa
Shuffle printfs around so they look right when we've got a drive attached.
2000-10-14 23:45:57 +00:00
bjh21
a449e4af6d
Ensure that the IOC is attached before any other devices, mostly because
...
the UPC driver needs to know whether the system's got an IOEB in it.
The way this is implemented is a mess -- I need to get my mind round
autoconfiguration again.
2000-10-14 23:44:42 +00:00
bjh21
7270db5ec0
Change to semantics of irq_establish: IRQs are now enabled by default, which
...
I think is the same as all other ports.
2000-10-14 23:41:01 +00:00
perseant
7a4d35b365
In lfs_truncate, don't overcount the real blocks removed from the inode,
...
when deallocating a fragment that has not made it to disk yet.
Also, during dirops, give the directory vnode an extra reference in
SET_DIROP, to ensure its continued existence during SET_ENDOP, preventing
a possible NULL-dereference there.
These two changes should close PR #11064 .
2000-10-14 23:22:14 +00:00
matt
b885772956
The input packet has the FCS attached to set M_HASFCS before passing up.
...
Revove eh = ... since it's no longer used.
2000-10-14 20:06:02 +00:00
tsubai
5d6a22ffea
Use VNODE_OP_NOINLINE.
2000-10-14 19:14:06 +00:00
tsutsui
3d26e06673
- Initialize zs chip in zscninit() so that kernel can use
...
serial console even if the PROM uses bitmap console.
- Remove zs_hwflags since news68k does not have keyboard nor mouse at zs;
check zschan address set in zscninit() to detect console device.
- Use BPS_TO_TCONST() to set baudrate in zs_init_reg[].
- Remove zs_get_chan_addr(), which is not needed anymore.
2000-10-14 16:45:49 +00:00
tsutsui
230e4ff333
Clarify some intrnames.
2000-10-14 16:23:33 +00:00
nisimura
ca7bd5f302
Make sure wsmouseopen() returns ENXIO when no VSXXX mouse is attached.
2000-10-14 08:51:51 +00:00
tsutsui
1b5ed35b7a
Re-enable tt0 register temporary to map I/O space.
...
(for framebuffer support)
2000-10-14 07:19:24 +00:00
simonb
c8d4a6140c
Regen
2000-10-14 06:23:21 +00:00
simonb
30dbba4dd1
Add ATI Mobility M3 (both PCI and AGP).
2000-10-14 06:12:46 +00:00
jonathan
6e67f82712
Fix wi_intr() to avoid touching card registers during insert/remove events,
...
when sharing an interrupt with other devices:
check sc->sc_enabled, and drop the interrupt if its' off.
Also check for IFF_RUNNING, on advice of Enami Tsugotomo.
2000-10-13 19:15:08 +00:00
augustss
86974d7235
Regen.
2000-10-13 18:16:53 +00:00
augustss
67c8e3701d
A bunch of scanners.
2000-10-13 18:16:36 +00:00
simonb
ec25ea9f3b
Position comment correctly wrt last commit.
2000-10-13 17:59:11 +00:00
itojun
6e3a9bc311
validate mbuf chain length on *_ctlinput. remote node may be able to
...
transmit a truncated icmp6 packet and panic the system. sync with kame.
2000-10-13 17:53:44 +00:00
tsutsui
65d3436a47
Make this compile without "options news5000".
2000-10-13 17:22:52 +00:00
simonb
831fce13ac
In mfs_start(), move the handling of outstanding I/O requests to before
...
the check for unmounting the filesystem.
Appears to fix kern/10122 from Hitoshi Matsunawa.
2000-10-13 16:53:53 +00:00
simonb
7bf589b1ae
There is no need to explicitly include <uvm/uvm_extern.h> for
...
<sys/sysctl.h> anymore.
2000-10-13 16:40:26 +00:00
augustss
764c5e3eea
Recognize HP 5300C.
2000-10-13 16:18:48 +00:00
augustss
8abfde6138
Regen.
2000-10-13 16:18:22 +00:00
augustss
54480a36e4
Add HP 5300C.
2000-10-13 16:18:02 +00:00
mjl
2898929f94
Revert previous since the finnish keymap is already present under
...
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!
2000-10-13 12:53:23 +00:00
augustss
b5b3e28ce7
Add uscanner.
2000-10-13 12:31:10 +00:00
christos
c49fc8469f
void cast for lint.
2000-10-13 03:53:26 +00:00
itojun
6572421763
make sure we don't share external mbuf between m and mcopy, in ip_forward().
...
should solve PR 11201.
2000-10-13 01:50:04 +00:00
wrstuden
07a9408ae6
Move ofwboot to 600000 hex. Should make loading better (less likely to
...
run into OF internals).
2000-10-13 00:19:30 +00:00
augustss
3a05d9ba7b
Avoid empty strings for vendor&product.
2000-10-12 23:11:04 +00:00
augustss
4ed4915295
Regen.
2000-10-12 22:51:42 +00:00
augustss
0b0fb8e466
Add Kingston KNU101TX Ethernet adapter.
2000-10-12 22:51:20 +00:00
hpeyerl
87a8c94ed0
Sanity check the cursor position read from the 6845 and if clearly
...
off-screen, set it to 0x0. From dean@huxley.org .
2000-10-12 22:36:30 +00:00
christos
6b7dd5a41a
add sunkbd.c and sunms.c; apparently these are now needed because
...
tty_conf.c brings them in.
2000-10-12 21:27:13 +00:00
christos
6708aee34f
add missing kd_attach_input routine.
...
someone needs to clean this shit up.
2000-10-12 21:26:28 +00:00
tsubai
5fd4c9fe04
Remove a '^G'.
2000-10-12 15:42:47 +00:00
wiz
06ab77c680
typo fix in comment (stallen -> stolen)
2000-10-12 12:42:52 +00:00
wiz
8a9e5b82d3
typo in comment (consifuration -> configuration)
2000-10-12 12:42:03 +00:00
mjl
38fd6528ac
Add finnish keymap, from Heikki Kallasjoki in PR/11186.
2000-10-12 12:41:22 +00:00
onoe
50159b60f0
Add support to boot on APbus machine (e.g. NWS-5000).
2000-10-12 05:34:29 +00:00
enami
3a909c64a6
Use splnet instead of splimp in wi_ioctl.
2000-10-12 04:50:58 +00:00
msaitoh
0a5e7f9f3f
enclose offsetof macro definition with #ifndef offsetof ... #endif
2000-10-12 03:42:33 +00:00
enami
4c00a9d6aa
Bail out initailzation on buffer allocation failure.
2000-10-12 03:29:59 +00:00
oster
fc40c38df6
Minor fixup for a printf(). Noted by Robert Elz.
2000-10-12 03:28:49 +00:00
onoe
29780c8cd7
add Tulip (tlp) at apbus
2000-10-12 03:18:41 +00:00
onoe
3c201cca80
change the type of the apbus interrupt handler from void to int
...
for each driver to indicate the interrupt has been handled or not.
2000-10-12 03:17:25 +00:00
onoe
935577e7bc
Tulip driver for NWB-5852A, which is an APbus board with DEC-21140A chip.
...
without MII. It supports 100BaseTX only. Half duplex/Full duplex can
be specified manually, but there are no auto negotiation functionality.
XXX: It takes 34 seconds before sending/receiving packets on the wire
after initial setup. It is obviously a bug because the board
just works fine on NEWS-OS, but I cannot find what's wrong...
Once it starts working, it seems there are no problems.
2000-10-12 03:15:59 +00:00
onoe
31624ad662
use macro to access interrupt mask register.
2000-10-12 03:15:21 +00:00
onoe
f2c3050d29
change the type of the apbus interrupt handler from void to int
...
for each driver to indicate the interrupt has been handled or not.
2000-10-12 03:13:47 +00:00
onoe
be4c939451
change the type of the apbus interrupt handler from void to int
...
for each driver to indicate the interrupt has been handled or not.
add prototype of apbus_dmatag_init() function, which allocates memory
and initialize its member including bus space handle to flush DMA write
cache. Note that the allocated pointer must be freed.
2000-10-12 03:12:01 +00:00
onoe
655ba83924
Allow multiple interrupt handler on same interrupt event.
...
Clear interrupt mask for specified interrupt in apbus_intr_establish().
Add dma stuff; define apbus_dmamap_sync() to flush DMA write cache by
accessing the corresponding I/O port.
2000-10-12 03:11:38 +00:00
onoe
de22372491
Use 1MHz freerun counter for microtime().
...
Show address for bus error, and DMA address error.
should be panic, but only printf for now.
2000-10-12 03:10:37 +00:00
onoe
68f82490a3
Support scsi boot device for NWS-5000.
...
Support NWS-3700, which is very similar with NWS-3400.
Do not depend on modelid of idrom, which is useless in most cases.
2000-10-12 03:10:07 +00:00
onoe
4e2e140f75
Do not access graphic console if probing framebuffer fails for NWS-3400.
...
Use serial console instead regardless the dipsw.
2000-10-12 03:08:58 +00:00
onoe
1383251d9a
Bus I/O and DMA access macros/routines.
2000-10-12 03:07:59 +00:00