itojun
7236276c18
sync with kame.
...
- include string.h (instead of sys/systm.h) on userland compilation.
make compilation under src/regress/sys/crypto happier. from minoura
- (blowfish) KNF.
2000-11-06 14:11:40 +00:00
tsubai
532d1c33c2
Enter ddb after ddb_init() if -d is specified.
2000-11-06 12:35:21 +00:00
tsubai
7bfead48b0
Rearrange console selection code.
...
Now usb keyboard is preferred to adb.
2000-11-06 12:33:07 +00:00
itojun
ad037eb274
avoid namespace pollution by radix.h. the #ifndef _KERNEL portion was to
...
use radix.c in userland compilation, however, noone is using it.
(routed has its own radix.c)
2000-11-06 11:07:37 +00:00
itojun
47bce75f00
check IPsec SA type (tunnel/transport/any) when we try to decapsulate IPsec
...
tunnel mode packet. decapsulate only if we got a tunnel mode SA.
KAME PR 296.
2000-11-06 00:58:34 +00:00
itojun
ef8a34f5c3
fix IPv4 TTL selection with AF_INET6 API. sync with kame. From: jdc
2000-11-06 00:50:12 +00:00
matt
5a55a6ac60
Add files.ieee1394
2000-11-05 23:19:41 +00:00
onoe
5d7a16ff8c
make it compilable with FW_DEBUG
2000-11-05 23:04:00 +00:00
chs
b6b3ee8657
remove what looks to be a bit of leftover debug code.
2000-11-05 23:00:10 +00:00
chs
1c76b8d14d
fix types in debug code.
2000-11-05 22:59:27 +00:00
matt
c135d1f282
Add files.ieee1394
2000-11-05 22:48:27 +00:00
tv
c6a1ef4f70
8 spaces -> tab
2000-11-05 22:41:35 +00:00
matt
f0bd09f42d
Merge in my some of my stuff.
2000-11-05 22:35:56 +00:00
thorpej
c60d6ae15b
Machine pmc.h
2000-11-05 22:28:00 +00:00
thorpej
fa03f6e74d
If we have a working cycle counter, compute the number of CPU
...
cycles in a second, and print the CPU speed.
Derived from similar code in FreeBSD.
2000-11-05 22:10:01 +00:00
matt
43ff857e29
Don't allow use of mapreg is they are at or above 0x10000 in I/O space. (in
...
other words, if the address uses bits in the top 16 bits, don't use it).
2000-11-05 21:14:59 +00:00
mhitch
d458239a94
When doing the cacheflush for MIPS1, adjust the length to account for
...
an unaligned buffer. The last word of the buffer was not getting flushed
if the buffer was unaligned and fit in a single DMA segment. Now dump(8)
works on both MIPS1 and MIPS3 DECstations.
2000-11-05 21:02:13 +00:00
jdolecek
0f1770e08d
make compilable without FW_DEBUG
2000-11-05 19:43:32 +00:00
onoe
e83458422f
First Prototype implementation of network interface part for IEEE1394 (if_fw).
...
Current status:
Only OHCI chip is supported (fwohci).
ping (IPv4) works with Sony's implementation (SmartConnect) on Win98.
sometimes works but not stable.
Not implemented yet:
IRM (Isochronous Resource Manager) functionality.
Link layer fragmentation.
Topology map.
More to do:
clean ups
MCAP
charactor device part
dhcp
There is no entry in GENERIC config file yet.
Follow sys/dev/ieee1394/IMPLEMENTATION to enable if_fw.
2000-11-05 17:17:12 +00:00
thorpej
1363813e0d
Two things off the TODO list.
2000-11-05 16:44:08 +00:00
thorpej
cde4f7415c
Add mmap support (i386-specific for the moment).
2000-11-05 16:24:45 +00:00
thorpej
5a8a59d459
Weed out the Dell and HP versions which are known to work in
...
WSS emulation mode (i.e. won't work in AC'97 mode).
2000-11-05 16:13:17 +00:00
jdolecek
e8e4da6b87
add new function sigismasked(), which checks whether passed signal
...
is ignored or masked by the process, and use it appropriately
instead of directly checking p->p_sigmask and p->p_sigignore
2000-11-05 15:37:09 +00:00
thorpej
70b3814a53
Add NeoMagic 256 audio.
2000-11-05 06:46:03 +00:00
thorpej
f945fc008d
Driver for NeoMagic 256 audio. Based on the OpenBSD driver, which is
...
in turn based on the FreeBSD driver, ported to NetBSD and somewhat
modified by me. Thanks to Matt Thomas for testing.
2000-11-05 06:43:45 +00:00
thorpej
aac73109ae
Feh, fix st00p1d braino in last.
2000-11-05 05:41:25 +00:00
thorpej
584c0d1319
Use <dev/sysmon/sysmonconf.h>
2000-11-05 04:08:48 +00:00
thorpej
6ea062a0d7
Update for sysmon splitting, and lm carries the sysmon_envsys
...
attribute.
2000-11-05 04:08:10 +00:00
thorpej
fce3c3a6a8
pcweasel carries the sysmon_wdog attribute.
2000-11-05 04:07:30 +00:00
thorpej
8e0eb1dc12
viaenv carries the sysmon_envsys attribute.
2000-11-05 04:06:53 +00:00
thorpej
e67f5e66bc
Split the envsys and watchdog parts of sysmon into their own
...
files.
2000-11-05 04:06:13 +00:00
thorpej
f6099127b7
DELPHI -- one of my devel machines at Zembu Labs. This is an
...
example of how to configure the PC-Weasel driver into the kernel.
2000-11-05 03:51:14 +00:00
mhitch
b38f4a0528
From Andrew Doran:
...
Fix 2100/3100 monochrome font display problem. Characters were being
rendered as a mirror-image, which was a bit hard to read.
2000-11-05 02:53:20 +00:00
scw
3b5fce6c46
Invert the sense of i82586_init()'s return value so that
...
it matches what ether_ioctl() expects.
2000-11-04 19:48:38 +00:00
thorpej
95b9ab0ebc
Add a device driver for the Middle Digital, Inc. PC-Weasel serial
...
console board. This glues into the `pcdisplay' driver and provides
support for the watchdog timer function on the PC-Weasel.
2000-11-04 18:47:20 +00:00
thorpej
7575e3d5e9
Update comment regarding watchdog timer toggle.
2000-11-04 18:44:28 +00:00
thorpej
c48d521bdb
Add a watchog timer framework to the system monitor.
2000-11-04 18:37:19 +00:00
thorpej
cb5b106fe1
Interface definition for watchdog timers.
2000-11-04 18:33:33 +00:00
veego
232ac6b3d1
Print the vendor and chip id in the DPRINTF with 0x%x and not just %d.
2000-11-04 18:28:19 +00:00
thorpej
f3c38af11b
Regen.
2000-11-04 16:43:14 +00:00
thorpej
601bcf9813
Add a couple NeoMagic products. From OpenBSD.
2000-11-04 16:41:57 +00:00
augustss
f3030960da
Add quirks for a Fuji camera.
2000-11-04 15:54:36 +00:00
tsutsui
87ebc281b2
Print which IRQ is used for compatibility interrupts. (from i386)
2000-11-04 14:05:55 +00:00
thorpej
05d5f37522
Shadow the AC'97 codec registers. This adds two capabilities:
...
* support devices that crash when reading the codec registers; a flags
interface is added to the host interface and one flag is defined
(AC97_HOST_DONT_READ).
* new API (restore_ports) for restoring the user's settings. This
can be useful after an APM resume after a suspend to disk.
From OpenBSD.
2000-11-04 08:07:14 +00:00
thorpej
0bb6525f5b
Add some more codec IDs. From OpenBSD.
2000-11-04 05:45:57 +00:00
wrstuden
029bdd3185
Adjust to change in tty line discipline handling.
2000-11-03 18:50:49 +00:00
tsutsui
99fde8d00d
Call ttymalloc() to initialize struct tty in bmcnattach().
2000-11-03 18:26:32 +00:00
ad
3d193b190b
- Pequr -> Serverworks. It pays to do a cvs update first...
...
- Pay attention only to the low byte of config reg 0x44 on Serverworks chips,
as Linux does.
- Compress duplicatated code.
2000-11-03 17:28:02 +00:00
ad
96d994ecae
regen.
2000-11-03 16:31:51 +00:00
ad
10885fbd47
Oops
2000-11-03 16:31:01 +00:00
ad
62d4f894dc
Regen.
2000-11-03 15:57:33 +00:00
ad
3789452cb3
Pequr Technology is now called ServerWorks.
2000-11-03 15:54:02 +00:00
simonb
dde480911e
Fix up line discipline change fallout.
2000-11-03 15:01:10 +00:00
tsubai
3d213115f4
Don't match if nintr > 12 (more than 3 cells).
2000-11-03 12:26:06 +00:00
tsubai
bcb05a2f55
Get 6 interrupt cells from OF.
2000-11-03 12:20:55 +00:00
pk
8ba559d056
st_touch_tape(): Pass XS_CTL_SILENT to st_mode_select().
2000-11-03 12:08:41 +00:00
pk
4c7351ec7d
* st_touch_tape(): start probing at the block size from the sense data if
...
we have it.
* st_unmount(): reset density to the device default. This prevents using
stale density values after changing to a medium with different density.
Section 9.3.3 of the SCSI specs states that a device shall return the
density value specified in the last succesfull MODE SELECT after an
unload operation, in case it is not able to automatically determine
the density of the new medium.
2000-11-03 10:46:18 +00:00
pk
e3aaa6c1ab
* Per st(4), retrieving status and setting modes on the control device
...
should succeed even if no media is loaded.
* In stopen(), check the return value of st_mount_tape().
2000-11-03 10:22:02 +00:00
abs
cee0acd601
Add
...
options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
#options IPSEC_DEBUG # debug for IP security
In the case of VOYAGER, comment out INET6 also
2000-11-03 10:18:55 +00:00
toddpw
d3ca42abf0
Add support for Socket Comm. PC Card Ethernet, and tidy up naming.
2000-11-03 09:07:24 +00:00
tsutsui
343f07f2ac
Fix some db_printf() format.
2000-11-03 06:27:34 +00:00
tsutsui
39355e9743
Make this compilie with LANCE_REVC_BUG.
2000-11-03 06:21:32 +00:00
tsutsui
ff3b4a0dab
Switch to MI md_root.c. Tested on RAMDISK3X kernel.
2000-11-03 05:52:42 +00:00
tsutsui
6bf0b47164
Fix typo in the previous revision. (s/LIdle/Lidle/)
2000-11-03 05:28:28 +00:00
tsutsui
d952450835
Wrap function declaration with "#ifndef sun3/#endif"
...
because sun3 does not have bus_space(9) support and
it have not switched to MI intersil7170 driver.
XXX We should split this into intersil7170{reg,var}.h ?
2000-11-03 05:23:07 +00:00
tsutsui
0750f35353
Fix printf formats in panic messages.
2000-11-03 04:52:27 +00:00
augustss
9702e75aa1
Sync with FreeBSD: Add a scanner. Fix a pasto.
2000-11-03 04:00:15 +00:00
simonb
be1c09c850
Use the canonical RF_PROTECTED_SECTORS #define hack.
2000-11-03 00:30:34 +00:00
bjh21
930c4cf062
First attempt at multicast stuff. I suspect it doesn't work.
...
Use ether_ioctl -- saves 300 bytes of text.
2000-11-03 00:25:36 +00:00
mhitch
84f1b64ed1
VFB01 framebuffer is 2048 bits wide (but only displays the first 1024 bits
...
of each scan line). Fix the fi_linebytes value to get the right size.
Fixes the 'compressed' display problem with the 2100/3100 monochrome display.
2000-11-02 23:37:08 +00:00
bjh21
42e564ed45
Remove unnecessary includes.
...
Add a compiled-in RCSID.
2000-11-02 21:56:46 +00:00
bjh21
13234acd0f
Convert to using ether_ioctl().
...
G/C huge swathes of unused code and outdated comments.
2000-11-02 21:42:41 +00:00
tsutsui
ae21e0d12e
Use "defined(sun3)" rather than "defined(_SUN3_) || defined(_SUN3X_)"
2000-11-02 21:24:16 +00:00
tsutsui
4ebb5f04e4
Fix typo in comment.
2000-11-02 21:18:03 +00:00
mhitch
f5f7066fc8
When a read DMA transfer is interrupted by a disconnect on the IOASIC SCSI
...
and the buffer is not 8-byte aligned, it leaves a partial transfer in the
SDRx registers. This could cause data corruption in dump(8) because the
read-ahead buffers are allocated on a non-aligned address. When the read
DMA transfer is interrupted and the current DMA position is not aligned,
call the dma_end() routine to flush the SDRx register contents to the
buffer.
2000-11-02 21:00:04 +00:00
thorpej
b2429742a5
Print out product info on attach.
2000-11-02 18:55:46 +00:00
matt
2f33599840
Casting lvalues is evil. Do it the right way.
2000-11-02 17:04:28 +00:00
matt
ab1d1ef33d
Add code to read the disklabel and add the beginning offset for A. Add
...
support for booting off a RAID root parition.
2000-11-02 17:01:47 +00:00
matt
fba0f63c68
Change the way we make machine-links so that only occurs when we are building
...
on VAX.
2000-11-02 17:00:24 +00:00
eeh
16bbba0a23
Fix bug w/previous.
2000-11-02 16:50:17 +00:00
eeh
746166e492
Fix sparc64 LP64 issues.
2000-11-02 16:14:05 +00:00
itojun
d36abffc92
sync with struct tty change (does it look correct?)
2000-11-02 15:51:18 +00:00
ragge
78e81aa036
Remove unused define.
2000-11-02 14:48:51 +00:00
tsubai
2fe4478f19
Don't assume 12x22 font.
2000-11-02 14:25:51 +00:00
pk
f71476a62f
Introduce ST_Q_ERASE_NOIMM, a quirk indicating that the device rejects
...
an ERASE command with the `Immed' bit on.
Use it on the VIPER 21247 & 21531.
2000-11-02 13:34:59 +00:00
pk
e4958f1fe6
Prevent printing sense information twice.
2000-11-02 13:12:58 +00:00
msaitoh
d254039699
Add support stacktrace when a function contains "mov #n,r3; sub r3,r15"
2000-11-02 13:08:25 +00:00
itojun
731744bcc2
avoid possible align issue
2000-11-02 12:28:45 +00:00
itojun
9b55c15642
[13]des fix for big endian machines. from: shigeru@iij.ad.jp
2000-11-02 12:25:01 +00:00
itohy
344f9b7b00
Set the default line discipline to t_linesw, rather than just NULL it.
2000-11-02 12:00:49 +00:00
itohy
486a58959c
Adapt to the new line discipline scheme.
2000-11-02 11:00:53 +00:00
msaitoh
5bf3b4ba22
regen
2000-11-02 07:16:16 +00:00
msaitoh
24429db457
add support:
...
MELCO LPC2-TX
Telecom Device TCD-HPC100
MACNICA ME1-JEIDA
2000-11-02 07:15:43 +00:00
msaitoh
41cfcbebb0
Fix two bugs.
...
- Doesn't fail ne_pcmcia_attach() if ne_pcmcia_ax88190_set_iobase() failed.
- Check whether LIOBASE register is writable or not (dirty hack!).
Fix PR. 11285
2000-11-02 07:04:46 +00:00
enami
08810e4e74
Make this file compile again.
2000-11-02 06:57:01 +00:00
thorpej
29b685b9f0
Introduce a way for boot programs to modify the behavior of
...
bootp(). Add a BOOTP_PXE flag which causes bootp() to send
"PXEClient" in the DHCP class field.
Derived from similar code in FreeBSD.
2000-11-02 03:22:23 +00:00
eeh
8a34e7f235
Bump the kernel version cause we changed the line disciplines interface.
2000-11-02 01:15:12 +00:00
thorpej
7c2615290b
Add support for MS-DOS file system, but don't enable it by
...
default -- the resulting binary is too large, and thus does
not work.
2000-11-02 01:02:07 +00:00
pk
9c058471c3
Remove useless check for SDEV_MEDIA_LOADED from st_read_block_limits().
...
This command should work whether or not media is present in the device.
2000-11-02 00:56:59 +00:00
pk
3867a66a9a
* In st_touch_tape(), don't bail out if the MODE SELECT fails since we are,
...
after all, probing the device for acceptable parameters.
* In st_loadquirks(), copy mode-specific quirks from the quirk table
to `st_softc'; otherwise all such quirks save ST_Q_FORCE_BLKSIZE are ignored.
2000-11-02 00:52:15 +00:00