Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37262
b: refs/heads/master
c: de4394f
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Richter authored and Ben Collins committed Jul 3, 2006
1 parent 1af80a8 commit d4c18b0
Show file tree
Hide file tree
Showing 18 changed files with 92 additions and 54 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e1d118f16dca0f54faba3e8dd5b6adbbf7ac68c8
refs/heads/master: de4394f13cc843fae2a3ba2df752ee20e6e779a8
6 changes: 2 additions & 4 deletions trunk/drivers/ieee1394/csr.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@

#ifndef _IEEE1394_CSR_H
#define _IEEE1394_CSR_H

#ifdef CONFIG_PREEMPT
#include <linux/sched.h>
#endif
#include <linux/spinlock_types.h>

#include "csr1212.h"
#include "ieee1394_types.h"

#define CSR_REGISTER_BASE 0xfffff0000000ULL

Expand Down
7 changes: 5 additions & 2 deletions trunk/drivers/ieee1394/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@
* directory of the kernel sources for details.
*/

#include <linux/mm.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <asm/scatterlist.h>

#include "dma.h"

/* dma_prog_region */
Expand Down
7 changes: 5 additions & 2 deletions trunk/drivers/ieee1394/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
#ifndef IEEE1394_DMA_H
#define IEEE1394_DMA_H

#include <linux/pci.h>
#include <asm/scatterlist.h>
#include <asm/types.h>

struct pci_dev;
struct scatterlist;
struct vm_area_struct;

/**
* struct dma_prog_region - small contiguous DMA buffer
Expand Down
12 changes: 6 additions & 6 deletions trunk/drivers/ieee1394/dv1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@
#include <linux/compat.h>
#include <linux/cdev.h>

#include "dv1394.h"
#include "dv1394-private.h"
#include "highlevel.h"
#include "hosts.h"
#include "ieee1394.h"
#include "ieee1394_core.h"
#include "ieee1394_hotplug.h"
#include "ieee1394_types.h"
#include "nodemgr.h"
#include "hosts.h"
#include "ieee1394_core.h"
#include "highlevel.h"
#include "dv1394.h"
#include "dv1394-private.h"

#include "ohci1394.h"

/* DEBUG LEVELS:
Expand Down
11 changes: 6 additions & 5 deletions trunk/drivers/ieee1394/eth1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,17 @@
#include <asm/semaphore.h>
#include <net/arp.h>

#include "config_roms.h"
#include "csr1212.h"
#include "ieee1394_types.h"
#include "eth1394.h"
#include "highlevel.h"
#include "ieee1394.h"
#include "ieee1394_core.h"
#include "ieee1394_hotplug.h"
#include "ieee1394_transactions.h"
#include "ieee1394.h"
#include "highlevel.h"
#include "ieee1394_types.h"
#include "iso.h"
#include "nodemgr.h"
#include "eth1394.h"
#include "config_roms.h"

#define ETH1394_PRINT_G(level, fmt, args...) \
printk(level "%s: " fmt, driver_name, ## args)
Expand Down
10 changes: 10 additions & 0 deletions trunk/drivers/ieee1394/highlevel.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
#ifndef IEEE1394_HIGHLEVEL_H
#define IEEE1394_HIGHLEVEL_H

#include <linux/list.h>
#include <linux/spinlock_types.h>
#include <linux/types.h>

struct module;

#include "ieee1394_types.h"

struct hpsb_host;

/* internal to ieee1394 core */
struct hpsb_address_serve {
struct list_head host_list; /* per host list */
Expand Down
10 changes: 6 additions & 4 deletions trunk/drivers/ieee1394/hosts.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
#define _IEEE1394_HOSTS_H

#include <linux/device.h>
#include <linux/wait.h>
#include <linux/list.h>
#include <linux/timer.h>
#include <linux/skbuff.h>
#include <linux/timer.h>
#include <linux/types.h>
#include <linux/workqueue.h>
#include <asm/atomic.h>

#include <asm/semaphore.h>
struct pci_dev;
struct module;

#include "ieee1394_types.h"
#include "csr.h"


struct hpsb_packet;
struct hpsb_iso;

Expand Down
10 changes: 7 additions & 3 deletions trunk/drivers/ieee1394/ieee1394_core.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@

#ifndef _IEEE1394_CORE_H
#define _IEEE1394_CORE_H

#include <linux/slab.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/list.h>
#include <linux/skbuff.h>
#include <linux/types.h>
#include <asm/atomic.h>
#include <asm/semaphore.h>
#include "hosts.h"

#include "hosts.h"
#include "ieee1394_types.h"

struct hpsb_packet {
/* This struct is basically read-only for hosts with the exception of
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/ieee1394/ieee1394_hotplug.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#ifndef _IEEE1394_HOTPLUG_H
#define _IEEE1394_HOTPLUG_H

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mod_devicetable.h>
#include <linux/types.h>

/* Unit spec id and sw version entry for some protocols */
#define AVC_UNIT_SPEC_ID_ENTRY 0x0000A02D
Expand Down
7 changes: 6 additions & 1 deletion trunk/drivers/ieee1394/ieee1394_transactions.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#ifndef _IEEE1394_TRANSACTIONS_H
#define _IEEE1394_TRANSACTIONS_H

#include "ieee1394_core.h"
#include <linux/types.h>

#include "ieee1394_types.h"

struct hpsb_packet;
struct hpsb_host;

int hpsb_get_tlabel(struct hpsb_packet *packet);
void hpsb_free_tlabel(struct hpsb_packet *packet);
Expand Down
7 changes: 2 additions & 5 deletions trunk/drivers/ieee1394/ieee1394_types.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@

#ifndef _IEEE1394_TYPES_H
#define _IEEE1394_TYPES_H

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/types.h>

#include <asm/semaphore.h>
#include <asm/byteorder.h>

#include <asm/semaphore.h>

/* Transaction Label handling */
struct hpsb_tlabel_pool {
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/ieee1394/iso.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
* directory of the kernel sources for details.
*/

#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/slab.h>

#include "hosts.h"
#include "iso.h"

void hpsb_iso_stop(struct hpsb_iso *iso)
Expand Down
7 changes: 6 additions & 1 deletion trunk/drivers/ieee1394/iso.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@
#ifndef IEEE1394_ISO_H
#define IEEE1394_ISO_H

#include "hosts.h"
#include <linux/spinlock_types.h>
#include <asm/atomic.h>
#include <asm/types.h>

#include "dma.h"

struct hpsb_host;

/* high-level ISO interface */

/*
Expand Down
9 changes: 5 additions & 4 deletions trunk/drivers/ieee1394/nodemgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@
#include <linux/moduleparam.h>
#include <asm/atomic.h>

#include "ieee1394_types.h"
#include "csr.h"
#include "highlevel.h"
#include "hosts.h"
#include "ieee1394.h"
#include "ieee1394_core.h"
#include "hosts.h"
#include "ieee1394_hotplug.h"
#include "ieee1394_types.h"
#include "ieee1394_transactions.h"
#include "highlevel.h"
#include "csr.h"
#include "nodemgr.h"

static int ignore_drivers;
Expand Down
10 changes: 8 additions & 2 deletions trunk/drivers/ieee1394/nodemgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@
#define _IEEE1394_NODEMGR_H

#include <linux/device.h>
#include "csr1212.h"
#include <asm/types.h>

#include "ieee1394_core.h"
#include "ieee1394_hotplug.h"
#include "ieee1394_types.h"

struct csr1212_csr;
struct csr1212_keyval;
struct hpsb_host;
struct ieee1394_device_id;

/* '1' '3' '9' '4' in ASCII */
#define IEEE1394_BUSID_MAGIC __constant_cpu_to_be32(0x31333934)
Expand Down
11 changes: 6 additions & 5 deletions trunk/drivers/ieee1394/raw1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,15 @@
#include <linux/compat.h>

#include "csr1212.h"
#include "highlevel.h"
#include "hosts.h"
#include "ieee1394.h"
#include "ieee1394_types.h"
#include "ieee1394_core.h"
#include "nodemgr.h"
#include "hosts.h"
#include "highlevel.h"
#include "iso.h"
#include "ieee1394_hotplug.h"
#include "ieee1394_transactions.h"
#include "ieee1394_types.h"
#include "iso.h"
#include "nodemgr.h"
#include "raw1394.h"
#include "raw1394-private.h"

Expand Down
12 changes: 6 additions & 6 deletions trunk/drivers/ieee1394/video1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
#include <linux/compat.h>
#include <linux/cdev.h>

#include "ieee1394.h"
#include "ieee1394_types.h"
#include "dma.h"
#include "highlevel.h"
#include "hosts.h"
#include "ieee1394.h"
#include "ieee1394_core.h"
#include "highlevel.h"
#include "video1394.h"
#include "ieee1394_hotplug.h"
#include "ieee1394_types.h"
#include "nodemgr.h"
#include "dma.h"

#include "ohci1394.h"
#include "video1394.h"

#define ISO_CHANNELS 64

Expand Down

0 comments on commit d4c18b0

Please sign in to comment.