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