jmcneill
4c1d81b2b5
Merge jmcneill-pm branch.
2007-12-09 20:27:42 +00:00
kiyohara
2575726a88
The argument of *_intr_establish() is changed to fwohci_flit.
...
Our ieee1394 coordinates from FreeBSD implementation.
Add fwohci_pci_shutdown() and fwohci_pci_power().
Move __KERNEL_RCSID to ahead.
2007-11-06 15:24:10 +00:00
dogcow
99f2863e95
on NetBSD, cardbus_intr_establish's fifth arg's is a symbol which returns
...
an int, not a void; change fwohci_intr accordingly.
2007-11-06 12:32:12 +00:00
kiyohara
c33e2714c5
+ Sync to FreeBSD.
...
firewire.c Rev.1.101
firewire.h Rev.1.21
firewirereg.h Rev.1.50
fwdev.c Rev.1.52
fwdma.c Rev.1.9
fwmem.c Rev.1.34
fwohci.c Rev.1.93
fwohcireg.h Rev.1.23
fwohcivar.h Rev.1.16
if_fwip.c Rev.1.16
if_fwipvar.h Rev.1.5
sbp.c Rev.1.92
+ Cleanup macros in fw_port.h.
+ Fix the occurrence of the error at the resume. Don't set the buffer again.
2007-11-05 19:08:56 +00:00
ad
a2a3828545
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
2007-10-19 11:59:34 +00:00
ad
1934283e4a
Use selinit() / seldestroy().
2007-09-25 14:04:07 +00:00
kiyohara
29417afebc
firewire.c sync to Rev.1.86 for FreeBSD.
...
firewirereg.h sync to Rev.1.41 for FreeBSD.
fwcrom.c sync to Rev.1.14 for FreeBSD.
fwdev.c sync to Rev.1.49 for FreeBSD.
fwmem.c sync to Rev.1.32 for FreeBSD.
fwohci.c sync to Rev.1.86 for FreeBSD.
fwohcivar.h sync to Rev.1.15 for FreeBSD.
if_fwip.c sync to Rev.1.14 for FreeBSD.
if_fwipvar.h sync to Rev.1.4 for FreeBSD.
sbp.c sync to Rev.1.89 for FreeBSD.
2007-04-21 15:27:43 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
kiyohara
190ae0482f
Include ioconf.h it for `struct cfdriver fwohci_cd'.
2006-12-22 03:26:51 +00:00
kiyohara
71d34007f5
Fix memory allocation, in case isochronous transfer fail this.
2006-12-21 00:31:51 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
kiyohara
58f6bfaae5
Fix device name in {fwohci,firewire}_print(). valiable aux is not string
...
pointer.
2006-09-26 02:50:42 +00:00
blymn
8582430c8c
Clean up bogus whitespace
2006-05-28 13:01:46 +00:00
kiyohara
c8693c641b
Back out for 1.94 from 1.93.
2006-05-03 00:37:44 +00:00
kiyohara
8e6f9eeb0a
Fix memory leak.
2006-04-30 14:18:40 +00:00
kiyohara
b6f53afe55
Use An appropriate flag in macro fw_bus_dma_*.
2006-04-30 14:14:06 +00:00
kiyohara
f4eda9f835
use fw_bus_dmamap_create().
2006-04-30 14:03:11 +00:00
kiyohara
a187d57e17
Indented.
2006-04-30 13:54:18 +00:00
kiyohara
413954f079
Remove sync-ope for descritor of DMA, because its descriptor set
...
BUS_DMA_COHERENT flag.
2006-04-30 13:49:32 +00:00
kiyohara
dd76308798
Coordination of macro fw_bus_dma_tag_create().
2006-04-30 13:15:01 +00:00
christos
a67bc54699
Coverity CID 727: Comment out dead code.
2006-04-14 21:42:37 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
drochner
e7bf69a733
minor cleanup: some "const", global namespace sanity and fix a maclo name
2005-07-20 15:11:57 +00:00
kiyohara
c1a84a4d12
ieee1394 import from FreeBSD.
2005-07-11 15:29:05 +00:00
fair
3f11934dfb
Change the name of a shadowed variable in FW_DEBUG code to make this
...
compile again.
2005-06-08 18:33:15 +00:00
christos
eb3c841970
fix handling of volatile and remove bogus casts.
2005-05-31 00:46:46 +00:00
christos
7cdea212c0
No 0x in front of %p...
2005-05-22 15:54:45 +00:00
christos
24ae046714
move an assignment up.
2005-03-26 04:37:04 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
drochner
96b589fc18
a round of autoconf cleanup:
...
-convert submatch() style functions (passed to config_search() or
config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
on "locators.h"
2004-09-13 12:55:47 +00:00
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