keihan
b8702f530b
netbsd.org -> NetBSD.org
...
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
2003-12-04 13:57:30 +00:00
fvdl
5602142448
Fix unitialized var warning, add a comment to indicate that it's use
...
is suspect.
2003-10-26 21:03:34 +00:00
christos
5220c0436c
Fix unitialized variable warnings.
2003-10-26 19:10:42 +00:00
mjl
088da88a56
Typos in comments. From OpenBSD.
2003-10-22 09:02:49 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
960df3c8d1
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
...
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
haya
5ae8bbc4cc
Bugfix: fwohci_ir_read(): loop continues when the buffer size not only
...
greater than but also same as packet size. This bug is pointed out by
FUKAUMI Naoki.
2003-05-26 16:10:36 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
christos
d77be05384
PR/20982: Eric Fair: fix debugging printf format errors.
2003-04-02 21:53:15 +00:00
thorpej
e354490475
Use aprint_*().
2003-01-31 02:15:57 +00:00
wiz
c6f1277bfa
synchronous, not syncronous.
2003-01-06 13:10:25 +00:00
jmc
216f0f8cde
Add some missing splx()'s noted by Krister Walfridsson
2003-01-05 08:11:33 +00:00
jmc
da000bb65b
Remove arbitrary bufcnt limit in at_output.
2003-01-05 08:03:45 +00:00
thorpej
72a7af27b0
Use aprint_normal() in cfprint routines.
2003-01-01 00:10:15 +00:00
jmc
092fe54e3d
Add additional debugging for fwohci_arrq_input: no listener conditions
2002-12-19 02:15:31 +00:00
jmc
e627b7fefc
Improve performance with disks almost 60x by redoing the callback handler to
...
accept ranges as well as single addresses. Still need to go through any key
areas and remove the malloc's and replace these with some sort of pooling
instead.
2002-12-13 07:47:52 +00:00
jmc
4d74b607a2
Restructure how the at_output dma map gets setup. Ask for a dma map that can
...
support up to the max ohci descriptor segments. Then attempt to fill it in
via a load. Use the number of segments filled in as the basis for figuring
out how many descriptors to supply to the ohci DMA engine.
XXX: Still needs to account for requests which because of splits may overflow
the 6 dma descriptors available today. For now this fixes cases where a
single 512 byte write was getting split into 2 dma segments from 1 incoming
iov request
2002-12-09 09:09:54 +00:00
jmc
2a3e786250
Fix fwohci_write's sanity check against large packets. Max rec is only used
...
when writing directly to the device (ala IEEE1394_TCODE_WRITE_REQ_BLOCK).
Otherwise the largest size is determined strictly by speed
2002-12-09 07:26:02 +00:00
jmc
9e81590397
Fill in sc1394_node_id after a self id cycle
2002-12-06 02:17:30 +00:00
agc
ecc0017939
Cast appropriately so that this compiles on sparc, sparc64, macppc etc.
2002-12-05 12:22:37 +00:00
haya
805040f592
New Feature: add pseudo device for IEEE 1394 isochronous stream and
...
isochronous reception routine for IEEE 1394 OHCI (fwohci). The
transmission part is under construction.
The minimum configuration options for this feature are:
# IEEE 1394 (i.LINK)
fwohci* at pci? dev ? function ?
pseudo-device fwiso 1
2002-12-04 00:28:39 +00:00
jmc
3b7f83f77f
Correct calculating of offsets when memcpy returned data.
2002-12-01 12:05:11 +00:00
jmc
88fe775d19
Print out some more details from incoming packets (tlabel's).
...
Also, when receiving a write packet, respond with a proper ack if something
was available to process it. (Fixes most of the sbp2 random hangs)
2002-11-30 06:09:42 +00:00
thorpej
c23c86e36b
Add ULL to 64-bit integer constants.
2002-11-25 02:30:38 +00:00
jmc
77b603bc96
Change structure/usage of interface provided callbacks. (read, write, reset)
...
Push these up to the ieee1394 softc level and make the naming scheme
consistant.
2002-11-22 16:20:17 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
thorpej
6c88de3b53
Introduce a new routine, config_match(), which invokes the
...
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
itojun
4ca3b72694
remove obsolete use of M_LINK0. it was planned to be used to identify
...
isosynchronous stream from others, but end up not being used.
From: Hayakawa Koichi <haya@ilink.sony.co.jp>
2002-06-24 00:42:27 +00:00
jmc
7a4d324653
Clean up some comments
2002-03-29 05:06:42 +00:00
jmc
40cba409bb
Change/pretty up some debugging info.
...
Also, add unit location fields to the ROM image. The p1212 spec requires
unit locations if you have 2 or more unit directories which is the case for
ipv4 and ipv6 compiled into a kernel.
2002-02-27 05:09:15 +00:00
jmc
a10cd2d55f
Print the tcode in hex when debugging like all other debug statements
2002-02-18 09:10:44 +00:00
jmc
715f7380b0
Add an unreg function.
...
Add a uio struct to the abuf so direct uio supporting calls can be setup.
Change all refs of csr in the abuf to addr as thats it's real function.
2002-02-03 07:24:48 +00:00
eeh
12fcdc813a
Fix illegal pointer manipulations that cause alignment problems.
2002-01-16 01:47:36 +00:00
tsutsui
e6f8529d26
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
2002-01-12 16:58:16 +00:00
drochner
f9f119b62a
cosmetics: print a "\n" terminated string if no "fw at fwohci" is
...
configured
2002-01-09 18:50:54 +00:00
ichiro
fc50aac093
implement fwohci detach routine.
2001-12-29 12:26:31 +00:00
lukem
2565646230
don't need <sys/types.h> when including <sys/param.h>
2001-11-15 09:47:59 +00:00
lukem
05b019ba0f
add RCSID
2001-11-13 12:24:11 +00:00
haya
727e8d4a04
Bugfix: re-order double buffer only when second buffer exists.
2001-10-12 09:27:23 +00:00
tsutsui
7fce932a4d
Fix typo in printf format.
2001-09-18 16:11:00 +00:00
haya
c14e80bd30
Bugfix: re-order buffers when they are released.
2001-09-07 11:04:35 +00:00
onoe
b7ff292c17
make it compilable:
...
fw_verbose, fw_dump -> fwdebug (DPRINTFN)
add sc1394_ifsetiso into ieee1394_softc
2001-07-18 02:59:54 +00:00
haya
8a1cc19a9f
New Feature: Add isochronous stream input routine. This feature has
...
been tested on i386. It does not have any interface for useland to
get isochoronous stream. The isochoronous acquisition interface
should be determined.
2001-07-17 11:01:03 +00:00
onoe
ff12a4271a
performance improvement in fwohci_pkt_get() for asynchronous read.
2001-07-02 11:12:09 +00:00
onoe
a924a0db99
set/reset low level receive handler according to IFF_UP flag of network
...
interface.
2001-07-02 10:46:03 +00:00
onoe
7605dd5368
FW_DEBUG only: move descriptor dump from DPRINTFN(1) to DPRINTFN(2).
...
fix indent in packet dump.
2001-07-02 02:26:40 +00:00
onoe
3fc5f5722d
Fixes to make if_fw work:
...
- fwohci_arrq_input: Do not return if next packet is in the buffer,
or the next packet cannot be received until the next receive interrupt.
- fwohci_uid_collect: XXX change M_WAITOK to M_NOWAIT for now, since there is
no lock but only one instance must be allowed here.
split fwohci_uid_req() and retry to get uid.
XXX need timer to wait some moment between retries...
- Add DELAY(10) for wait loop.
- split fwohci_buf_stop() into _stop_tx() and _stop_rx() because receiver
should not be stopped at bus-reset.
- split fwohci_buf_input() into _input() and _input_ppb() to improve
performance slightly.
2001-06-29 14:57:24 +00:00
onoe
e88b10865c
simplify and localize to access sc_intmask in fwohci_event_thread().
2001-06-28 14:41:28 +00:00
onoe
3ad99107cb
Simplify to update sc_intmask in fwohci_intr().
2001-06-28 14:38:56 +00:00
onoe
a0eef76f35
FW_DEBUG: split debug printf in fwohci_intr() and fwohci_phy_input() into
...
fwohci_show_intr() and fwohci_show_phypkt() respectively.
2001-06-28 14:37:56 +00:00