beautypg.com

Inside the isp1362 linux stack, Top-level directory, Host – Philips ISP1362 User Manual

Page 31: Phci, Device

background image

Philips Semiconductors

ISP1362 Linux Stack User’s Guide

UM10012-_2

© Koninklijke Philips Electronics N.V. 2003. All rights reserved.

User’s Guide

Rev. 1.2—July 2003

31 of 34

6. Inside the ISP1362 Linux Stack

The ISP1362 Linux stack release consists of two parts: a Linux kernel OTG patch for kernel version 2.4.18 and the
ISP1362 Linux stack source code.

The code is written in C. This chapter explains the ISP1362 Linux stack source code organization.

6.1. Top-Level

Directory

The root directory consists of all the substack directories and the make files. Table 6-1 shows the contents of this
directory and their description.

Table 6-1: Top-Level Directory Contents

File Name

Description

release/Makefile

Top-level Makefile that compiles all the subdirectories

release/Rules.Make

Top-level make file rules

release/host

ISP1362 host stack directory

release/device

ISP1362 device stack directory

release/otg

ISP1362 OTG stack directory

release/hal

ISP1362 hardware access layer directory

Release/appl

ISP1362 OTG mass storage application modules directory

release/objs

ISP1362 Linux stack object files directory

6.2. host

The

host

directory consists of files and directories related to the ISP1362 host stack. The contents of this

directory and their description are given in Table 6-2.

Table 6-2: Contents of the host Directory

File Name

Description

release/host/Makefile

Makefile for the host stack

release/host/phci/

ISP1362 Host Controller Driver directory

6.2.1. phci

The

phci

directory consists of files related to the ISP1362 Host Controller Driver. The following table shows the

contents of this directory and their description.

Table 6-3: Contents of the phci Directory

File Name

Description

release/host/phci/Makefile

Makefile for the Host Controller Driver

release/host/phci/usb_phci.c

ISP1362 Host Controller Driver C source file

release/host/phci/usb_phci.h

ISP1362 Host Controller Driver C header file

6.3. device

The

device

directory consists of files related to the ISP1362 device stack. Table 6-4 shows the contents of the

device directory and their description.