~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/net/sgiseeq.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * sgiseeq.c: Seeq8003 ethernet driver for SGI machines.
3
3
 *
4
 
 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
 
4
 * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
5
5
 */
6
6
 
7
7
#undef DEBUG
33
33
 * with that in mind, I've decided to make this driver look completely like a
34
34
 * stupid Lance from a driver architecture perspective.  Only difference is that
35
35
 * here our "ring buffer" looks and acts like a real Lance one does but is
36
 
 * layed out like how the HPC DMA and the Seeq want it to.  You'd be surprised
 
36
 * laid out like how the HPC DMA and the Seeq want it to.  You'd be surprised
37
37
 * how a stupid idea like this can pay off in performance, not to mention
38
38
 * making this driver 2,000 times easier to write. ;-)
39
39
 */
77
77
};
78
78
 
79
79
/*
80
 
 * Warning: This structure is layed out in a certain way because HPC dma
 
80
 * Warning: This structure is laid out in a certain way because HPC dma
81
81
 *          descriptors must be 8-byte aligned.  So don't touch this without
82
82
 *          some care.
83
83
 */