tsutsui
5dca757b0e
Swap the order of u_int16_t member in Tx/Rx descriptors
...
on big endian machines.
"Big endian mode" of smc83c170 actually works!
(i.e. no htole??()/le??toh() functions are needed.)
2000-05-26 00:20:26 +00:00
tsutsui
dea97be7fd
Don't use bcopy() to copy u_int16_t data to u_int8_t array.
2000-05-26 00:14:41 +00:00
enami
e79a50b93f
In nfs_flush, if the previous commit succeeded and we may have more
...
uncommitted dirty buffer, attempt to commit them.
2000-05-25 23:28:44 +00:00
thorpej
c9a7ec7a66
Add Davicom DM9102 registers.
2000-05-25 22:50:11 +00:00
thorpej
7c709cc6b4
Comment the fact that the X3201-3 requires FS|LS in the setup
...
packet descriptor.
2000-05-25 22:18:07 +00:00
is
0ce3451d1f
Initial AmigaPPC commit.
...
Lots of the work was done by Adam Ciarcinsky.
Currently, this only supports CyberPPC boards by Phase 5. Blizzard PPC
expected later.
The kernel is useless but for demonstrating that it starts... especially
interupts, and most of MMU support, is not in yet. Builtin console works,
however, and you can look at the kernel startup messages.
2000-05-25 22:11:57 +00:00
jhawk
d30834ad42
Support ddb-specific nonstandard printf formats %r and %z in kprintf(),
...
even when not called with (flags&TODDB != 0), such that ddb print routines
can use them when printing elsewhere, such as to the message buffer.
2000-05-25 21:32:41 +00:00
is
8a6db88c1d
Prepare for AmigaPPC.
2000-05-25 21:10:14 +00:00
matt
37be92c0d1
Add loadfile() support. soon to be needed by bootblocks.
2000-05-25 20:25:22 +00:00
jhawk
f3528d725d
Interface change: db_printsym() takes a third argument, pr, a function
...
pointer indicating how to print the symbol. This allows db_printsym()
to called in places where db_printf() is not an appropriate output
function.
While straightforward, apologies in advance if I've introduced any minor
syntax errors; I was unable to test compilation this on all the affected
platforms.
2000-05-25 19:57:30 +00:00
matt
091b74891d
Modify the file list for kernel to supress errors/text for certain ones.
2000-05-25 19:36:20 +00:00
is
f0d88bea57
Prepare for AmigaPPC.
2000-05-25 19:10:04 +00:00
thorpej
f4a3f5ea48
So, while the DEC chips and other clones want no FS|LS in the
...
setup descriptor, apparently the Xircom X3201-3 requires it.
2000-05-25 18:46:07 +00:00
is
da281d4321
Prepare for AmigaPPC.
2000-05-25 18:39:09 +00:00
mycroft
4bfbc7641d
Recognize the DE-650 with another vendor/product pair and OUI.
2000-05-25 17:21:48 +00:00
thorpej
6ec6c6f90a
Move common return-to-userland goo into userret(), like other ports.
2000-05-25 17:01:11 +00:00
thorpej
215a635a5b
Truncate receive buffers to 4-byte boundary. Slightly modified
...
from kern/10198, from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
2000-05-25 16:47:18 +00:00
thorpej
2f08658512
Fix a couple of typos in debugging messages. From IWAMOTO Toshihiro,
...
kern/10194.
2000-05-25 16:37:33 +00:00
thorpej
05a766d42e
Don't set FS and LS in the setup packet descriptor. From
...
IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>, kern/10194,
and confirmed with the 21040 manual.
2000-05-25 16:36:03 +00:00
mycroft
57f3751ca1
Add ipfilter-related stuff.
2000-05-25 16:33:13 +00:00
tsutsui
e747c390f0
Enable fxp* at pci and inphy* at mii.
2000-05-25 14:50:34 +00:00
fvdl
3e54d43abc
Be sure to not use tagged queueing for a few commands.
2000-05-25 11:41:05 +00:00
bouyer
c9347a04a5
Regen.
2000-05-25 10:16:37 +00:00
bouyer
b063b2ec36
Separate the sheduler from the main script, allocate another DMA-safe
...
memory page for the sheduler. Put the main script in the on-chip RAM when
available.
Avoid a null-pointer dereference when DSA is invalid.
2000-05-25 10:10:54 +00:00
tsutsui
4a42668b31
Add fxp* at pci.
2000-05-25 09:09:28 +00:00
itohy
c72407329e
Treat receiver overrun of MFP (clear the error).
...
Although the keyboard hardware seems to be designed to avoid
overrun, the errors sometimes occur.
2000-05-25 03:33:27 +00:00
itohy
61363bb1c6
Fix the problem where pressing a key at
...
scsibus0: waiting 2 seconds for devices to settle...
message during boot crashes the system.
This is because ite_filter() is called before init(8) opens the console.
2000-05-25 03:30:19 +00:00
simonb
52e7cddaa7
Fix kernel profiling so that it actually works:
...
- Add 16 bytes to the stack on entry to _mcount so we don't
overflow it.
- Use inline interrupt {dis,en}abling instead of calling
profiled function in locore.
2000-05-25 03:07:10 +00:00
mason
af43639ded
Fixed typo in ses comment - devies -> devices
2000-05-25 01:34:18 +00:00
msaitoh
127c1a76e9
fix the null pointer access bug when arg2 (char **endptr) == NULL
2000-05-25 01:22:41 +00:00
thorpej
4f92d2cd54
Update from Bill Studenmund <wrstuden@zembu.com>:
...
- Note that the FreeBSD driver distributed by Cyclades served as
documentation on how the board works.
- Use the wait-until-pending-I/O-completes-before-loading-parameters
command in czttyparam().
- Pass BREAKs up to the tty later properly.
- Garbage-collect some debugging code.
2000-05-24 22:26:35 +00:00
eeh
ca743bac9a
Use the PCI function code to distinguish simba bus A from bus B instead
...
of the current hack.
2000-05-24 20:27:52 +00:00
eeh
c965d1deec
If we have sparse PCI spaces we can run out of IO map space when mapping
...
PCI config space. Since PCI config space is mostly used by PCI bus drivers,
we won't actually map it in. Instead we use MMU bypass ASI accesses to read
and write PCI config space.
2000-05-24 20:24:58 +00:00
ragge
e256727fb2
Four more instructions makes it possible to boot old kernels also.
2000-05-24 19:53:11 +00:00
is
ebc6483ef9
missed one line when converting m68k asm() to macro calls.
2000-05-24 19:36:29 +00:00
soren
a20a3b38fd
Appease gcc.
2000-05-24 18:42:03 +00:00
thorpej
e1284ac3c2
Add a comment before the call to preempt() to be consistent with
...
other ports (i.e. I just added the comment, and arm26 already used
preempt).
2000-05-24 17:29:41 +00:00
thorpej
7f4eca2d94
Use preempt(), not an open-coded equivalent (which won't be
...
equivalent for long).
2000-05-24 17:28:05 +00:00
thorpej
1140468205
Use preempt(), not an open-coded equivalent (which won't be
...
equivalent for long).
2000-05-24 16:48:33 +00:00
itojun
418a734f51
enforce parameter type check for IN6_ARE_ADDR_EQUAL(). (sync with kame)
2000-05-24 14:40:09 +00:00
soren
c25111e4ae
Make two previous changes more correct, as shown by Izumi Tsutsui.
2000-05-24 13:20:32 +00:00
soren
9c42b3b802
#include <opt_ddb.h>
2000-05-24 08:14:01 +00:00
soren
8922795de0
The EEPROM is little-endian.
2000-05-24 08:04:23 +00:00
soren
66083288eb
Fix DMA status reading on big-endian systems. From Sanjay Lal on port-macppc.
2000-05-24 07:49:13 +00:00
soren
35bf53bd9c
And a newline after error string.
2000-05-24 06:04:12 +00:00
itojun
37cc37ead2
correct pcmcom detach (like card removal). PR 9334.
2000-05-24 03:44:46 +00:00
jhawk
a403c3e1c3
Kludge:
...
Change #define's of the form
#define panic(a) printf(a)
to
#define \
panic(a) printf(a)
to prevent ctags(1) from detecting there is a tag.
Otherwise, the tags file claims panic() is in subr_extent.c
instead of subr_prf.c.
2000-05-24 02:22:36 +00:00
matt
83ae868133
Add some debug stuff. Disable SCSI on KA49 for now until I can figure out
...
why it doesn't work.
2000-05-23 23:47:28 +00:00
matt
62469cb55a
Allow for boot.vax and netbsd.vax when booting. this allows a multi
...
architecture CD to be made which includes VAX support.
2000-05-23 23:34:20 +00:00
matt
27a876b17c
boot detection moved autoconf.c; remove it from here.
2000-05-23 21:36:43 +00:00
matt
6f98bbbb09
Add some missing ifdef's.
2000-05-23 19:55:55 +00:00
christos
d4bcd03b81
PR/10154: Antti Kantee: ignore 0 length resource(s)
2000-05-23 17:50:53 +00:00
bouyer
2904666f56
Allocate dynamically the command block descriptors.
2000-05-23 17:08:07 +00:00
thorpej
8f7304f9b7
Typo in previous.
2000-05-23 16:47:44 +00:00
tv
01780e8115
Add names for many syscalls not yet implemented, including those in
...
FreeBSD 4.0-RELEASE. Also implement the following using existing NetBSD
syscalls: pread, pwrite, getsid, mlockall, munlockall, __getcwd.
2000-05-23 16:05:51 +00:00
tsubai
06d1fe06b3
Remove __BROKEN_DK_ESTABLISH.
2000-05-23 13:27:16 +00:00
tsubai
b906075964
Compile dk_* functions only when __BROKEN_DK_ESTABLISH is defined.
2000-05-23 13:25:43 +00:00
tsubai
f12221a5f5
Modify DMA access timings.
2000-05-23 13:20:58 +00:00
pk
1273031c4d
Simplify the bus_dma(9) implementation:
...
- the `alignment' and `boundary' arguments in bus_dmamem_alloc() only
serve as hints on how to break up a DMA transaction into chunks
when necessary; it is not necessary on sparc DVMA hardware.
- exclusively use the VM page size (i.e. PAGE_SIZE et.al.) when computing
resource allocations.
- remember the size of DVMA resource allocations in the private `_ds_sgsize'
field in a dma segment descriptor.
2000-05-23 11:39:57 +00:00
bouyer
e662e86225
sd_interpret_sense() can be called from interrupt context; call scsipi_start()
...
with XS_CTL_ASYNC if the failed command was called with XS_CTL_ASYNC.
Add a SDF_RESTART flag to keep state, cleared in sddone().
A mounted disk can now spin down, it will propely spin up at the next access.
2000-05-23 10:20:14 +00:00
bouyer
373582e298
scsipi_get_xs(): if we have XS_CTL_URGENT, return an xfer even if
...
active >= openings. An XS_CTL_URGENT command could otherwise fail, especially
if openings == 1.
2000-05-23 10:16:43 +00:00
enami
28ec465498
Remove $Id.
2000-05-23 08:41:49 +00:00
enami
f87f33d513
Allow userland to retrieve whether the card support WEP while the
...
card power is off. This allows wiconfig to set WEP key etc while power off.
2000-05-23 08:25:51 +00:00
veego
c02ef5cc85
Resolve conflicts.
2000-05-23 06:07:42 +00:00
thorpej
20c7af8a35
Fix a printf format.
2000-05-23 06:06:10 +00:00
thorpej
75dbbed64a
Fix a typo, and add some lint comments.
2000-05-23 05:17:11 +00:00
thorpej
f6cea17c36
Rename the atomic operations to have generic machine-independent
...
names, and define __HAVE_ATOMIC_OPERATIONS to indicate their
existence.
2000-05-23 05:12:53 +00:00
eeh
8b4fa50a4d
Need to be able to turn off pcons.
2000-05-23 05:11:28 +00:00
thorpej
d3ea31501b
Add an MP version of this config, and add come commented out
...
debugging options.
2000-05-23 05:01:56 +00:00
soren
a255740671
MachForceCacheUpdate and cacheflush_bug have never been used in NetBSD,
...
so remove references them, and do a little other cleanup.
2000-05-23 04:21:39 +00:00
soren
9f00930ace
Make AHC_DEBUG compile.
2000-05-23 03:50:12 +00:00
mycroft
b7c3dc6d20
Recognize more models of the IBM card. From PR 10137.
2000-05-23 02:55:19 +00:00
enami
332c98526a
- Move the comment, which describes that calling the function
...
uvm_map_pageable(map, ...) implies unlocking passed map, just before the
function call.
- If we bail out before calling the uvm_map_pageable, unlock the map
by ourself to prevent a panic ``locking against myself''. The panic is,
for example, caused when cdrecord is invoked with too large fifo size.
2000-05-23 02:19:20 +00:00
thorpej
0aae1fb638
Note that KN300 is also for AlphaServer 1200.
2000-05-23 02:04:28 +00:00
thorpej
b97e178455
Add kernel config for my AlphaServer 1200 MP hacking box.
2000-05-23 02:02:41 +00:00
thorpej
5c9920bbb6
Update from Bill Studenmund <wrstuden@zembu.com>:
...
Correctly send and receive BREAKs -- still needs to do something
intelligent with them. Some additional debugging goo.
2000-05-23 01:02:21 +00:00
thorpej
b8322d5c23
Const poison the layout name.
2000-05-23 00:44:38 +00:00
pk
8c39bf5d24
MicroSPARC 1 cache issues:
...
- mark as CPUFLG_CACHE_MANDATORY to avoid cache inconsistencies in
pmap_{zero,copy}_page().
- compute caching alias bits correctly
- add experimental optimisation in ms1_cache_flush().
2000-05-22 22:03:32 +00:00
fvdl
c9fe89891a
Don't try to re-enable tags once they have been disabled because of a
...
MSG_REJECT from the target. Obey the NOTAG quirk.
2000-05-22 21:14:24 +00:00
thorpej
2c49ab816e
When checking for netboot, also check for MOP protocol.
2000-05-22 20:13:31 +00:00
thorpej
800573dc5f
Normalize determination of scsiboot and netboot.
2000-05-22 20:09:12 +00:00
eeh
62d33e59ff
Align things pessimistically so a 64-bit kernel will accept symbols from a 32-bit loader.
2000-05-22 19:15:33 +00:00
uch
27a7fbff47
debug frame buffer draw routines moved to video_subr.c.
...
plumvideo also use it.
2000-05-22 17:17:44 +00:00
thorpej
09e72ae7e2
Remove the adjustment of VM_PHYS_SIZE for `large memory machines'. The
...
only adjustment that was really necessary was for VM_KMEM_SIZE, and that
is no longer necessary because there is now generic auto-sizing for
kmem_map.
2000-05-22 17:13:53 +00:00
thorpej
920010ad8f
Add SCSI Enclosure Services at cdev minor 74.
2000-05-22 16:58:20 +00:00
thorpej
f5d4219e96
Remove an used variable and add a missing `}' so that this compiles.
2000-05-22 16:52:03 +00:00
thorpej
78112e2541
Add `ses' (SCSI Enclosure Services) device.
2000-05-22 16:48:41 +00:00
thorpej
7e078f081c
Kernel config for my Alphastation 200 file server + wireless network
...
gateway.
2000-05-22 16:46:11 +00:00
thorpej
20241c549c
These systems haven't been available to NetBSD/alpha developers
...
for a very very very long time, and there are more up-to-date
example configs for the BUNNY case.
2000-05-22 16:45:30 +00:00
thorpej
61ae567197
Rename CANE to MINI-ME to reflect that my Multia hasn't been
...
parked at my (former) NASA office for quite some time.
2000-05-22 16:38:24 +00:00
thorpej
b0600483b9
bishop.nas.nasa.gov and nostromo.nas.nasa.gov are no more.
2000-05-22 16:35:25 +00:00
matt
88352edc02
Add prototype for findcpu in _STANDALONE.
2000-05-22 15:55:52 +00:00
matt
8c22116924
cpp can be so annoying. to appease it, can't -> cannot
2000-05-22 15:54:53 +00:00
matt
7a0c7ff6f9
get rid of a double /
2000-05-22 15:42:37 +00:00
matt
09d6519a0f
make the declaration of findcpu() ansi. (e.g add void to it).
2000-05-22 15:41:31 +00:00
matt
5ece00b8bc
Obviously we don't use the symbol, but we might give it the correct value.
...
We support up to NVAX platforms.
2000-05-22 15:40:06 +00:00
matt
2d5c3f8447
Move BDEV_LE detection to here.
2000-05-22 15:38:47 +00:00
matt
cb089ee017
Remove RPB hook from here and put in autoconf.c
2000-05-22 15:34:05 +00:00
matt
ff7c474e11
The double / in the path has been bothering me for awhile.
2000-05-22 15:33:13 +00:00
itojun
fa2abf5727
make net.inet6.udp6.* sysctl name meet with IPv4 counterpart.
...
XXX do we need to keep symbols mistakingly added (like UDP6CTL_SENDMAX)
for backward compatibility? I believe not.
2000-05-22 15:22:36 +00:00
uch
c70d727504
regen.
2000-05-22 15:05:37 +00:00
uch
af2b106d9a
Add SHARP Telios HC-VJ1C and Mobilon HC-4500 entries.
2000-05-22 15:03:46 +00:00
jhawk
41ebaaaf09
Add a "sifting" command to ddb (named from the Sun OpenPROM command of
...
the same name); it searches the symbol table(s) for all symbols matching
a given substring, and prints.
Extremely useful for when you forget that critical symbol name.
Also, with /F support (cf. "ls -F") to print a char indicating the
symbol type.
2000-05-22 14:49:10 +00:00
itojun
5de72de121
disallow negative numbers for ratelimit interval (tcp, icmp, icmp6).
2000-05-22 12:08:43 +00:00
uch
817c8734c5
fix comment.
2000-05-22 07:40:41 +00:00
mrg
296eaaa36d
add two new CPU_ISXXX versions: CPU_ISSUN4U, CPU_ISSUN4MOR4U
2000-05-22 02:35:23 +00:00
wiz
c2b6147132
Replaced overlooked BROOKTREE_SYSTEM_DEFAULT with BKTR_SYSTEM_DEFAULT,
...
as noted by Roger Hardiman.
2000-05-22 01:00:29 +00:00
ragge
f506422549
Boot device recognition for DEUNA added; combined with some cleanup.
2000-05-21 20:18:49 +00:00
ragge
314caa6651
Standalone driver for the Digital Equipment Unibus Network Adapter (DEUNA).
...
This allows 11/750 owners to install from a single TU58 cassette.
(Are there still any 11/750 owners left out there? :-)
2000-05-21 20:17:43 +00:00
veego
b0c4d85748
Add a missing ; at the end of a line.
2000-05-21 18:47:00 +00:00
veego
4c4ad1d1a5
Resolve conflicts.
2000-05-21 18:45:53 +00:00
perry
2a9fe3a4e7
Actually return the BIOS error code (if any) generated by the reads
2000-05-21 16:59:28 +00:00
jhawk
24396ea653
revert 1.21 (back to 1.20);
...
the problem was due to diskbuf[] getting pushed over a 64k
boundary, and has now been fixed (for the moment).
2000-05-21 16:33:12 +00:00
jhawk
07a3d660c5
This change courtesy of Charles Hannum <root@ihack.net>. This
...
addresses the problems seen by Jason Thorpe <thorpej@netbsd.org> and
Erik Berls <cyber@netbsd.org> necessitating rev 1.20 of
biosboot/main.c.
Move BOOTSEG from 0x100 to 0x1000.
Move heap from 0x10000 to 0x20000.
XXXXXXXX
This is a Kluge From Hell to allow boot blocks to grow a little larger
without diskbuf[] crossing a 64k boundary.
2000-05-21 16:29:14 +00:00
wiz
56cb02c358
Use bktr_softc.bktr_dev.dv_xname instead of "bktr0" when printf'ing as
...
requested by Klaus Klein in kern/10166.
Also add device instance name to all printf's that didn't have it.
2000-05-21 15:43:56 +00:00
eeh
3cee90e0e1
Need to provide a consdev to the cons_attach_input call now.
2000-05-21 14:36:15 +00:00
tsutsui
a6d8e45ba7
Call bus_dmamap_unload() if any Tx mbuf remains in rtk_stop().
2000-05-21 13:00:46 +00:00
uch
fb077d8092
change TX3922 D-cache mode to write-through.
2000-05-21 11:53:00 +00:00
uch
7b768bd6e8
recognize 32MByte D-RAM.
2000-05-21 11:24:45 +00:00
uch
060197b367
Get LCD size from PLUM2 Display control register.
2000-05-21 11:22:25 +00:00
ragge
da774180b6
Compare the boot address with 1) physical address and 2) correct variable.
2000-05-21 10:03:55 +00:00
ragge
d901690b17
Remove forgotten debug printf.
2000-05-21 09:45:54 +00:00
ragge
0b560b2138
Set correct adapter addresses if none is given.
2000-05-21 09:45:34 +00:00
ragge
93753c91c0
11/750 fixes:
...
- Set the correct adapter address in RPB for Unibus devices.
- Repair the disk read routines for HP disks. ROM routines do not work
on HP disks, therefore use a small home-written routine.
2000-05-21 09:44:16 +00:00
ragge
f7b7cabc0b
On the 11/750, the stack will be placed by ROM in the code area.
...
Start with moving it to a safe place.
2000-05-21 08:13:20 +00:00
soren
f598aece87
MIPS 'mach halt' does nothing MD, so nuke it.
2000-05-21 05:41:25 +00:00
soren
6aba4259b6
R10K has 64 TLBs.
2000-05-21 04:25:57 +00:00
soren
abbe53961a
Add R12K PRID.
2000-05-21 04:03:34 +00:00
soren
81fa4aa07f
Populate the cputype defopt (not enabled yet).
2000-05-21 03:31:35 +00:00
soren
2779a53005
Include opt_cputype.h.
2000-05-21 03:23:15 +00:00
soren
7ea4a2b744
Fix RCS ID line.
2000-05-21 02:51:58 +00:00
soren
b70819c71a
Also share BE ldscripts.
2000-05-21 02:50:10 +00:00
augustss
bdc8c2f8f4
Alphabetize.
2000-05-20 21:34:48 +00:00
thorpej
1410091b4e
Clean up a comment.
2000-05-20 19:54:01 +00:00
matt
20a98cb524
count input and output packets.
2000-05-20 18:33:18 +00:00
thorpej
649ff32f2b
Rather than using a magic constant, use `com_scratch' as the offset
...
in UART space to the interrupt CSR.
2000-05-20 18:25:41 +00:00
augustss
c3e3a945cc
Add a missing bktr%d: in one of the attach messages.
...
(When is this code going to be KNFed?)
2000-05-20 16:16:15 +00:00
simonb
a8377e933e
Don't define __inline as "/* delete GCC keyword */" if __lint__ is
...
defined - lint(1) already knows about the __inline modifier.
This stops lint from generating "static function ... unused" warnings
for static __inline functions.
2000-05-20 14:26:01 +00:00
eeh
17c567f9de
Oops. Seems like we do need this file to make pcons work.
2000-05-20 14:23:12 +00:00
ragge
9f7a44710e
Remove (more) VAX dependencies.
2000-05-20 13:41:33 +00:00
ragge
2da29b7e01
Changes to use the RPB for different tasks. Much simpler now to find the
...
boot device.
2000-05-20 13:38:58 +00:00
ragge
b3f6551d41
WARNS=1. Unify the ra and tmscp driver.
2000-05-20 13:36:11 +00:00
ragge
027ee49b0f
Adopt to the RPB changes. Complete change of how network devices are
...
handled. No more hacks to find bus addresses.
2000-05-20 13:35:07 +00:00
ragge
c5f56fab00
Change all devices to use the RPB info when autobooting, this allows for
...
booting from unsupported devices also. As a side effect; it fixes PR#9202.
2000-05-20 13:30:03 +00:00
ragge
a8a7bf342f
New arguments to the rom routines. Adapt srt0 to new world also.
2000-05-20 13:22:39 +00:00
ragge
9ff9efe46a
Rewriting of the VAX boot block. Differences:
...
- Use the RPB for passing boot device info up to kernel, instead of the
old BSD "hack" with an encoded longword (see sys/reboot.h for details)
- Instead of separate drivers for all devices, use the HW-provided ROM
routines as much as possible.
- Add filesystem support for CD9660 also (now when there is space).
- Make everything compile with WARNS=1.
The boot block is now <7K in size and have support for UFS, CD9660 and USTAR.
2000-05-20 13:21:29 +00:00
takemura
5e48883c49
Add NEC Mobile Pro 780/880 and Vadem Clio 1050.
2000-05-20 07:11:25 +00:00
castor
9816b43753
regen
2000-05-20 06:30:13 +00:00
castor
773f9bb009
Add Geocast's vendor ID
2000-05-20 06:29:50 +00:00
takemura
6bef866101
Add two items:
...
NEC MobilePro 780 (MC/R530A)
NEC MobilePro 880 (MC/R730A)
2000-05-20 05:08:53 +00:00
shin
405f83e99a
fix platid_test source files.
2000-05-20 03:41:28 +00:00
thorpej
cd737c4016
Remove VM_PROT_EXECUTE from the permissions used to map the page
...
for pager I/O -- it is not needed, and including it leads to
unnecessary I-cache flushes.
2000-05-20 03:36:06 +00:00
thorpej
7b6dd5a1c9
In chkdq(), check for NOCRED. Should fix port-alpha/10147.
2000-05-20 03:25:14 +00:00
jhawk
ca31d672e2
Install "show arptab" (db_show_arptab) in the ddb command tree.
...
Move prototype from netinet/if_inarp.h to ddb/db_interface.h.
Change function to have standard ddb parameters (though they're
ignored).
2000-05-20 03:08:41 +00:00
thorpej
4756ba9e32
#if 0 out the consdev command stuff -- with it, boot blocks don't
...
work, without it, they work fine. Size issue?
2000-05-19 22:26:50 +00:00
thorpej
5026e056e2
Back out previous change; there is something Seriously Wrong.
2000-05-19 20:42:20 +00:00
itojun
48c5048502
correct manipulation of link-local scoped address on loopback.
...
now "telnet fe80::1%lo0" should work again.
(we have another bug near here - will attack it soon)
2000-05-19 20:09:26 +00:00
thorpej
d55b1bd74d
Handle non-GNU C++ as well. Pointed out by Klaus Klein.
2000-05-19 18:57:48 +00:00
thorpej
071aed40ac
A foolish consistency; most parts of the kernel use bp->b_data, so
...
change these from bp->b_un.b_addr to bp->b_data, as well. This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.
2000-05-19 18:54:22 +00:00
thorpej
646555bbd5
Clean up some indentation lossage in uvm_map_extract().
2000-05-19 17:43:55 +00:00
drochner
415552f3db
add spanish keymap, data from
...
Juan Jose Garcia Ripoll <jjgarcia@ind-cr.uclm.es>
2000-05-19 16:40:04 +00:00
drochner
4a523cfe34
define spanish keymap
2000-05-19 16:39:15 +00:00
jhawk
92f539aa66
Calibrate the timeouts from rev 1.26 by using DELAY(1) so their
...
values are less machine-dependant. Fixes port-i386/10141, where
spurrious timeouts were being seen.
Also note the line numbers of the timeouts so it can be determined
which is being seen (via __LINE__).
2000-05-19 16:00:30 +00:00
tsutsui
f2973e2fb8
- Change RL_* -> RTK_*
...
- Free bus_dma resources if attach fails
- Add detach and power management code
Patch from Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp> in kern/10156.
2000-05-19 13:42:29 +00:00
itojun
41f4d3e2b6
correct MLD API. (binary backward compatibility is kept)
...
commit to usr.sbin/pim6* will follow.
2000-05-19 10:39:43 +00:00
veego
1cd1663317
Disable the viaenv driver and remove the siop entry which was added
...
in the last commit.
2000-05-19 10:23:36 +00:00
kleink
5f56eae96a
Add a quirk table entry for the OnStream ADR50 Drive;
...
from S.P.Zeidler <spz@serpens.swb.de> in kern/10118.
2000-05-19 06:55:42 +00:00
thorpej
3e403cdb65
In tiocm_to_cztty(), use SET() instead of CLR() in the
...
TIOCMBIS case. "Oops!"
2000-05-19 06:01:14 +00:00
eeh
dd5143017a
Use the new emergency fallback PROM console driver.
2000-05-19 05:28:47 +00:00
eeh
424619ca1a
Fix the sparc64 console.
...
Unlike the other Sun machines, UltraSPARCs can have consoles run on different
chips than zs, so we need to support them. So, here we go:
Add a new PROM console driver with a major number and everything.
This is the default driver if nothing else attaches. It does not
use the keyboard driver since the PROM translates keystrokes itself.
(Unfortunately it also swallows L1-A).
Have the keyboard driver take over the console when it attaches on a
serial port. When a serial port detects a keyboard and attaches the
keyboard driver, it needs to provide a set of consdev vectors. They
keyboard driver will use those to send I/O to the keyboard and mouse.
2000-05-19 05:26:16 +00:00
thorpej
9a063e5f4d
Comment previous, suggested by Chris Demetriou.
2000-05-19 05:04:32 +00:00
minoura
c2e8f67477
Add some missing casts of ioctl arg.
...
Obviously autoconfiguration wouldn't work on big-endian machines.
2000-05-19 04:53:25 +00:00
thorpej
49f5aa2818
If not GNU C++, if __AUDIT__ is defined, define NULL as (void *)0.
2000-05-19 04:37:20 +00:00
thorpej
f636538446
NULL != 0
2000-05-19 04:34:39 +00:00
thorpej
1cff94b896
Add missing field in static initialization.
2000-05-19 04:03:33 +00:00
thorpej
655b21e17d
Tell uvm_pagermapin() the direction of the I/O so that it can map
...
with only the protection that it needs.
2000-05-19 03:45:04 +00:00
itojun
fa5c89d64a
do not mistakingly forward link-local scoped packet (the bug was added
...
with "beyondscope" icmp6 support).
"options FAKE_LOOPBACK_IF" will honor scope on loopback outputs. rcvif will
be real interface, not the loopback, just like when multicast loopback.
(sync with kame)
2000-05-19 01:40:18 +00:00
mrg
4bd0bb352b
this file has not been used for a long time.
2000-05-19 01:09:21 +00:00
is
5e33ffef22
Initialize hardware for mouse mode at open time.
...
This fixes MB2 and MB3 on the 2nd mouse port (the first is initialized by
the Amiga ROM at boot time).
2000-05-18 19:58:30 +00:00
thorpej
59164fe0fc
Fix an inverted test.
2000-05-18 17:55:17 +00:00
kleink
8050d5687d
Restructure the ms(4) autoconfiguration code to attach as a single device
...
instance and select a mouse port via the least significant bit of its
device minor number. Fixes abuse of cf_unit in this driver.
2000-05-18 15:39:22 +00:00
minoura
74e4bb664f
Wrong logic. Pointed out by Yasufumi.
2000-05-18 15:24:30 +00:00
mrg
badbd98b2a
rearrange the order of bus_dma operations to be more like many other
...
drivers, at the suggestion of fvdl. also, use bus_dmamap_load() not
load_raw().
2000-05-18 14:00:46 +00:00
drochner
6095f60587
regen
2000-05-18 13:04:27 +00:00
drochner
309b0ed70d
fix typo in last commit
2000-05-18 13:03:31 +00:00
mrg
cc57e4111a
do not pass a `boundary' argument to bus_dmamap_create(), particularly one
...
that is smaller than the `size' argument.
2000-05-18 12:49:09 +00:00
pk
7caaf84b68
bus_dmamem_alloc: ensure alignment is always at least the page size.
2000-05-18 10:10:55 +00:00
pk
72cadd83e4
Fix printf() format.
2000-05-18 08:34:26 +00:00
garbled
4d3e8e6976
regen
2000-05-18 08:03:22 +00:00
garbled
81fd58c65b
Add the device ID for the IBM MPIC-II.
2000-05-18 08:02:19 +00:00
matt
9bf1dc1e62
fix comments.
2000-05-18 04:20:41 +00:00
matt
f7b0b612b4
Add PCMCIA.
2000-05-18 04:03:30 +00:00
sato
8bc2515577
fix CONFIG_HOOK_BUTTONEVENT_CANCEL keycode.
2000-05-18 03:27:22 +00:00
thorpej
b5cf4e96cf
Use big-endian CRC on ADMtek multicast hash.
2000-05-18 03:02:45 +00:00
soren
135a70e5a6
Make cache printing a little more consistent.
2000-05-17 23:35:44 +00:00
matt
2d153651e5
Preliminary support for the VS4000/90 SGMAP. Needed for SCSI. Does not
...
quite work right yet.
2000-05-17 21:22:18 +00:00
matt
6fb4d43f97
Sync closer to GENERIC.
2000-05-17 21:19:49 +00:00
thorpej
56512515f8
Add Cyclades-Z serial.
2000-05-17 18:08:50 +00:00
thorpej
640a49f093
Add Cyclades-Z serial adapter at cdev minor 73.
2000-05-17 18:08:03 +00:00
thorpej
5274a6162f
Add a device driver for the Cyclades-Z series of intelligent multi-port
...
serial boards. Written by Jason R. Thorpe and Bill Studenmund.
2000-05-17 17:58:09 +00:00
thorpej
07ea678d4d
Register definitions and preliminary API definition for the PLX 9060
...
family of PCI bus controllers.
2000-05-17 17:47:00 +00:00
pk
817862e208
vmapbuf: should not map the kernel address uncacheable.
2000-05-17 14:37:59 +00:00
soren
740759113f
mips5200_FlushCache(): flush L2 cache too.
2000-05-17 12:44:48 +00:00
mrg
0cd44feb0e
fix if/ifdef mistake
2000-05-17 10:28:14 +00:00
mrg
20bc66f592
- add some psycho interrupt debugging stuff (#if 0'ed out)
...
- fix arguments passed in psycho_dmamap_load_raw()'s declaration, and
what it passes to it's parent bus.
2000-05-17 10:17:01 +00:00
mrg
eee5e33e8a
- in iommu_remove(), move len adjustment outside if statement, leaving
...
just one copy of this.
- remove duplicate setting of sgsize in iommu_dvmamap_load().
- fix DIAGNOSTIC check in iommu_dvmamap_load_raw() to panic() in unexpected
conditions only (not normal ones), and also add an extra case.
2000-05-17 09:53:53 +00:00
uch
b444da72bd
Skip fixup phase when system BIOS setting were perfect.
...
don't write 0 to command register. (it is harmful).
2000-05-17 09:50:34 +00:00
mrg
53fa9da4df
move zs_attach() to after the setting of the console device, to avoid
...
having cn_dev being 0 and thus cnopen() being called recursively. this
fixes this problem for zs-based console's only.
2000-05-17 09:28:22 +00:00
mrg
651712a140
add a note about US IIi and PCI_INTERRUPT_LINE register
2000-05-17 09:25:58 +00:00
mrg
6dad37e26a
expand a comment slightly.
2000-05-17 09:25:27 +00:00
mrg
f2a19f58b5
fix || vs. && bug, and clean up some cruft.
2000-05-17 09:16:44 +00:00
mrg
0eeab9735f
fix another warning.
2000-05-17 09:12:10 +00:00
shin
5eacd822a1
delete undefined 'NEC_MCR_4XX'.
2000-05-17 08:38:25 +00:00
eeh
3b90b5c5c4
Add support for bus_dma_load_raw() so the le driver will work again.
2000-05-17 02:31:12 +00:00
itojun
4631e5d720
improve duplicated 'gifconfig" check (fatal typo was there). sync with kame.
2000-05-17 01:14:04 +00:00
thorpej
dd494c1a6c
Redo the way MFS does I/O to the server's address space. Instead of
...
queueing up buffers and awakening the MFS server process to do the I/O,
we do the I/O to the server process's address space directly using
facilities provided by UVM.
This makes it possible for buffers attempting to flush out while the
MFS is being unmounted to actually do the I/O, where before it would
fail if the server process wasn't in the MFS idle loop (i.e. had been
signaled and was attempting to exit).
Should fix kern/10122 (I can no longer reproduce the problem described
in the PR when running with these changes), and any number of other
MFS-related complaints made by people over time.
2000-05-16 17:20:23 +00:00
simonb
0c59b3c325
Apply patch from Robert Elz in PR kern/10113. This fixes two problems
...
with procfs's cmdline - from the PR:
The cmdline implementation in procfs is bogus. It's possible that
part of the fix is a workaround of a UVM problem - that is, when
(internally) accessing the top of the process VM (the end of the
args) a request for I/0 of a PAGE_SIZE'd block starting at less
than a PAGE_SIZE from the end of the mem space returns EINVAL
rather than the data that is available. Whether this is a bug
in UVM or not depends upon how it is defined to work, and I was
unable to determine that. (Simon Burge found that problem, and
provided the basis of the workaround/fix).
Then, the cmdline function is unable to read more than one
page of args, and a good thing too, as the way it is written
attempting to get more than that would reference into lala land.
And, on an attempt to read a lot of data when the above is
fixed, most of the data won't be returned, only the final block
of any read.
Tested on alpha, pmax, i386 and sparc.
2000-05-16 13:45:25 +00:00
thorpej
463931b3ba
Nuke dk_establish() from orbit except from those ports which still use
...
it to determine the boot device: mvme68k, pc532, macppc, ofppc. Those
platforms should be changed to use device_register(). In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
2000-05-16 05:45:44 +00:00
itojun
3c67584219
propose better IPv6 ifid alternative to the peer, when ifid collides
...
during IPv6CP negotiation. it is very rare to see collision.
2000-05-16 05:45:27 +00:00
perseant
e6c7065240
fsck_lfs can now write to the filesystem, allowing it to correct most
...
(though still not all) errors in a damaged lfs. Segment byte accounting
is corrected in pass 5. "fsck_lfs -p" will do a partial roll-forward,
verifying the checkpoint from the newer superblock. fscknames[] is
updated so that fsck knows about fsck_lfs.
2000-05-16 04:55:58 +00:00
thorpej
6d7f14dc5d
Record the proc directly, not the pid, of the MFS server process,
...
and nuke the spare fields in the mfsnode.
2000-05-16 00:24:08 +00:00
thorpej
47490d3527
Whitespace glitch.
2000-05-16 00:18:44 +00:00
thorpej
e7d81a3225
Fix a tyop, pointed out by Bill Studenmund.
2000-05-15 23:56:49 +00:00
jhawk
aa0007b5a5
In case of db_onpanic=0, still drop to ddb if the trap was from within
...
ddb.
i.e. "db> x/s 0x14" should return you to ddb when it faults, regardless
of the state of db_onpanic.
2000-05-15 20:16:48 +00:00
jhawk
cc732067b7
"p" should be an alias for "print", and was until "ps" was added.
...
Now it is, again.
2000-05-15 19:56:43 +00:00
itojun
3a44ebc43c
backout previous (packed attribute to struct ifreq)
2000-05-15 16:59:37 +00:00
itojun
3df6dbc4c7
add packed attribute to struct ifreq. this should avoid unaligned access
...
while parsing SIOCGIFCONF, on alignment-picky archs.
2000-05-15 16:45:50 +00:00
dante
e66be0bd10
Cosmetic change
2000-05-15 16:38:49 +00:00
dante
ceb378e070
Add few peripheral device type
...
Remove "???" from T_IT8_1/2. They actually are pre-press devices for graphic arts as described by ASC IT8
Zeros and blanks scsipi_inquiry_data from byte 58 to byte 74 if additional_length is less than 58
2000-05-15 16:35:49 +00:00
bouyer
c94bdce1f4
Don't enable debug message by default.
2000-05-15 15:16:59 +00:00
bouyer
1900598507
Sync copyrigth notice.
2000-05-15 08:51:55 +00:00
bouyer
7e71ffde06
Sync copyrigth notice
2000-05-15 08:48:25 +00:00
bouyer
c4042e45a5
Sync my copyrigth notice.
2000-05-15 08:46:00 +00:00
nisimura
66ecdc15d3
Remove unused PSL_USERCLR defines for processor status register.
2000-05-15 08:36:32 +00:00
bouyer
92a5f4d724
Sync my copyrigth notice
2000-05-15 08:32:07 +00:00
bouyer
2b86c61a31
- sync my copyrigth
...
- Add usefull message for obsolete error code (part of fix for kern/9856).
2000-05-15 08:31:33 +00:00
bouyer
e557084177
Update for siop split.
2000-05-15 08:27:24 +00:00
enami
769cc65919
Free memory when failed to map it.
2000-05-15 08:08:12 +00:00
enami
01f1223f94
Cosmetic changes.
2000-05-15 07:57:19 +00:00
bouyer
a1c4db6c37
- split siop_pci in attachements vs helper functions, for comming esiop
...
- add a reset callback to enable PCI-specific features. This improve bandwith
by a factor of 2 on my alpha with a 875 !
- sync copyrigth notice
2000-05-15 07:53:17 +00:00
bouyer
863014523a
- split siop.c in script-dependant vs script-independant part, for
...
comming esiop
- add a reset callback for bus-dependant registers settings
2000-05-15 07:48:24 +00:00
bouyer
95d08cb691
Regen
2000-05-15 07:44:05 +00:00
bouyer
06d4aa45eb
- use my standart copyrigth notice
...
- After reselect, don't clear ack after the IDENTIFY message, this breaks
when the reselecting target has different sync parameters than the previous
one.
2000-05-15 07:43:45 +00:00
nisimura
8a71a7a50f
Backout the previous change which was done mistakenly.
2000-05-15 06:45:44 +00:00
nisimura
c7c815f46b
Remove #include <machine/psl.h> which is not used.
2000-05-15 06:39:14 +00:00
itohy
cb3a247145
Use bsd.hostprog.mk to allow ELF target on a.out host.
2000-05-15 05:02:29 +00:00
thorpej
7da80620c9
splimp() -> splnet()
2000-05-15 01:55:53 +00:00
thorpej
e5ae7c287a
Symbol namespace cleanup: rl_ -> rtk_
2000-05-15 01:55:12 +00:00
sato
ab17e681e7
NEC MC-CS LIGHT button.
...
NEC MC-R430 COM0 power.
CASIO E55 COM0 power.
CASIO E55 LIGHT button.
2000-05-15 01:40:44 +00:00
thorpej
a4b298224a
Use <dev/ic/ac97reg.h>
2000-05-15 01:35:29 +00:00