jmc
a3c3d336ee
Only dump the rom up to ab_retlen in error cases. Also add in
...
P1212_ALLOW_VENDOR_DIRECTORY_TYPE to the flags passed to the p1212 parser
2002-04-03 04:15:59 +00:00
jmc
7a4d324653
Clean up some comments
2002-03-29 05:06:42 +00:00
jmc
39b8891129
Update copyright date
2002-03-29 05:05:40 +00:00
nathanw
2a72ef3147
Remove a variable that is unused after the previous ALTQ commit.
2002-03-06 05:33:05 +00:00
itojun
ac36f7cb2c
bring in latest ALTQ from kjc. ALTQify some of the drivers.
2002-03-05 04:12:57 +00:00
enami
fa5084d17e
Make this file compiles w/o FWNODE_DEBUG.
2002-03-01 01:01:18 +00:00
jmc
71b05541b5
Initial layout for SBP2 routines. Mainly just the code yanked from fwnode.c
...
so it's not lost.
2002-02-27 05:12:11 +00:00
jmc
6cf5c78fa4
Basic prototype/beginning of firewire disk support using sbp2/scsi. Commiting
...
to have a baseline.
2002-02-27 05:11:27 +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
f04610f130
Move definition of if_fw fifo location to ieee1394reg.h as it's needed for
...
filling in unit location in the rom.
XXX: This all is really too welded together. The if_fw code should be
decoupled from this and simply be handed a method by which it can provide
the config rom back to the main code.
2002-02-27 05:07:25 +00:00
jmc
d455d6316d
Add 3 more macros for extracting info from bus info block
2002-02-27 05:05:39 +00:00
jmc
ea96c58797
Change length values to u_int32_t
2002-02-27 05:04:28 +00:00
jmc
ed05bf459e
Rototill fwnode.c to rely on the p1212 routines to parse and validate the ROM
2002-02-27 05:02:25 +00:00
jmc
8140d3a6bb
Note done sections related to fwnode/ieee1212 stuff
2002-02-27 05:00:55 +00:00
jmc
2d478bd8d8
Move over from std to here
2002-02-27 05:00:00 +00:00
jmc
a10cd2d55f
Print the tcode in hex when debugging like all other debug statements
2002-02-18 09:10:44 +00:00
augustss
a91e01c9ee
s/ab_csr/ab_addr/ so it compiles again.
2002-02-11 12:32:43 +00:00
jmc
edd781367c
Change some wording on fw's to make it more logical sounding.
2002-02-03 07:29:14 +00:00
jmc
c4bd465ed5
Add IEEE1394_MAX_REC macro
2002-02-03 07:25:11 +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
ichiro
96f25772c6
OCHI -> OHCI
2002-01-26 16:34:27 +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
a926e1d151
done - Make fwohci detach correctly (for cardbus/etc type interfaces)
2001-12-29 12:28:05 +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
wiz
251b3464be
heirarchy -> hierarchy
2001-08-24 10:24:45 +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
3a2ef358d9
fix typo: CLear -> Clear
2001-07-02 02:36:48 +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
8601a37f8c
Protect to call fw_start() recursively.
2001-06-29 14:46:54 +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
onoe
d38786d61f
fix printf to DPRINTFN inside FW_DEBUG
2001-06-25 04:52:26 +00:00
jmc
c2b5ec5220
Add a few nits. Hubs seem problematic on resets sometimes.
...
Also, make sure fwohci can detach cleanly (for cardbus).
2001-05-17 05:30:37 +00:00
jmc
0aae41bf84
Clean up comment about unregistering callbacks
2001-05-15 06:54:07 +00:00
jmc
c3967bca55
Various small changes.
...
Clean up one bug in a DPRINTF in arrs_input which could panic on some packets.
Gut the ack/response functionality and clean it up so all packets get checked
correctly and the abuf struct isn't used once the ab_cb has happened (there
still could be ack packets waiting to be processed at that time).
Finally, add some documentation explaining read/write/inreg and their
purpose/argument calling.
2001-05-15 06:52:30 +00:00
jmc
d91da495a9
Back out last change until I get fwohci rototilled better for checking the ack bits. Makes things compile again.
2001-05-15 06:30:30 +00:00
jmc
61ca5f641b
Remove ackcb. It's a duplicate of existing functionality.
2001-05-14 06:51:36 +00:00
jmc
98139fa8b9
Make sure and zero out the malloc'd abufs before using them.
2001-05-14 05:46:41 +00:00