Subject: port-i386/21250: problem in understanding 1394 code
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rishabhgoel@hotmail.com>
List: netbsd-bugs
Date: 04/21/2003 12:55:03
>Number: 21250
>Category: port-i386
>Synopsis: problem in understanding 1394 code
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-i386-maintainer
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Mon Apr 21 12:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Rishabh
>Release: NetBSD 1.6
>Organization:
SoCrates
>Environment:
NetBSD 1.6.1_RC1 NetBSD 1.6.1_RC1 (MYKERNEL) #4: Wed Apr 9 21:43:26 IST 2003 Rishabh@:/usr/src/sys/arch/i386/compile/MYKERNEL i386
>Description:
I m trying to understand the driver code for IEEE 1394. I cant figure out the meaning of some constants defined in fwohcivar.h
#define OHCI_BUF_ARRQ_CNT 16
#define OHCI_BUF_ARRS_CNT 8
#define OHCI_BUF_ATRQ_CNT (8*8)
#define OHCI_BUF_ATRS_CNT (8*8)
#define OHCI_BUF_IR_CNT 8
#define OHCI_BUF_CNT \
(OHCI_BUF_ARRQ_CNT + OHCI_BUF_ARRS_CNT + OHCI_BUF_ATRQ_CNT + \
OHCI_BUF_ATRS_CNT + OHCI_BUF_IR_CNT + 1 + 1)
I want to know what r these constant meant for and what is there use?Are these constants defined by the 1394 sepcification or is it OHCI chip dependent.
>How-To-Repeat:
1. open fwohcivar.h
2. goto line number 49
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: