* [PATCH] [MIPS] Remove unused header file gio.h
@ 2008-11-26 13:34 Dmitri Vorobiev
2008-11-27 9:16 ` Thomas Bogendoerfer
0 siblings, 1 reply; 7+ messages in thread
From: Dmitri Vorobiev @ 2008-11-26 13:34 UTC (permalink / raw)
To: ralf, linux-mips; +Cc: Dmitri Vorobiev
Grepping reveals that arch/mips/include/asm/sgi/gio.h is
not used by anyone, so let's delete the orphan header.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
---
arch/mips/include/asm/sgi/gio.h | 86 ---------------------------------------
1 files changed, 0 insertions(+), 86 deletions(-)
delete mode 100644 arch/mips/include/asm/sgi/gio.h
diff --git a/arch/mips/include/asm/sgi/gio.h b/arch/mips/include/asm/sgi/gio.h
deleted file mode 100644
index 889cf02..0000000
--- a/arch/mips/include/asm/sgi/gio.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * gio.h: Definitions for SGI GIO bus
- *
- * Copyright (C) 2002 Ladislav Michl
- */
-
-#ifndef _SGI_GIO_H
-#define _SGI_GIO_H
-
-/*
- * GIO bus addresses
- *
- * The Indigo and Indy have two GIO bus connectors. Indigo2 (all models) have
- * three physical connectors, but only two slots, GFX and EXP0.
- *
- * There is 10MB of GIO address space for GIO64 slot devices
- * slot# slot type address range size
- * ----- --------- ----------------------- -----
- * 0 GFX 0x1f000000 - 0x1f3fffff 4MB
- * 1 EXP0 0x1f400000 - 0x1f5fffff 2MB
- * 2 EXP1 0x1f600000 - 0x1f9fffff 4MB
- *
- * There are un-slotted devices, HPC, I/O and misc devices, which are grouped
- * into the HPC address space.
- * - MISC 0x1fb00000 - 0x1fbfffff 1MB
- *
- * Following space is reserved and unused
- * - RESERVED 0x18000000 - 0x1effffff 112MB
- *
- * GIO bus IDs
- *
- * Each GIO bus device identifies itself to the system by answering a
- * read with an "ID" value. IDs are either 8 or 32 bits long. IDs less
- * than 128 are 8 bits long, with the most significant 24 bits read from
- * the slot undefined.
- *
- * 32-bit IDs are divided into
- * bits 0:6 the product ID; ranges from 0x00 to 0x7F.
- * bit 7 0=GIO Product ID is 8 bits wide
- * 1=GIO Product ID is 32 bits wide.
- * bits 8:15 manufacturer version for the product.
- * bit 16 0=GIO32 and GIO32-bis, 1=GIO64.
- * bit 17 0=no ROM present
- * 1=ROM present on this board AND next three words
- * space define the ROM.
- * bits 18:31 up to manufacturer.
- *
- * IDs above 0x50/0xd0 are of 3rd party boards.
- *
- * 8-bit IDs
- * 0x01 XPI low cost FDDI
- * 0x02 GTR TokenRing
- * 0x04 Synchronous ISDN
- * 0x05 ATM board [*]
- * 0x06 Canon Interface
- * 0x07 16 bit SCSI Card [*]
- * 0x08 JPEG (Double Wide)
- * 0x09 JPEG (Single Wide)
- * 0x0a XPI mez. FDDI device 0
- * 0x0b XPI mez. FDDI device 1
- * 0x0c SMPTE 259M Video [*]
- * 0x0d Babblefish Compression [*]
- * 0x0e E-Plex 8-port Ethernet
- * 0x30 Lyon Lamb IVAS
- * 0xb8 GIO 100BaseTX Fast Ethernet (gfe)
- *
- * [*] Device provide 32-bit ID.
- *
- */
-
-#define GIO_ID(x) (x & 0x7f)
-#define GIO_32BIT_ID 0x80
-#define GIO_REV(x) ((x >> 8) & 0xff)
-#define GIO_64BIT_IFACE 0x10000
-#define GIO_ROM_PRESENT 0x20000
-#define GIO_VENDOR_CODE(x) ((x >> 18) & 0x3fff)
-
-#define GIO_SLOT_GFX_BASE 0x1f000000
-#define GIO_SLOT_EXP0_BASE 0x1f400000
-#define GIO_SLOT_EXP1_BASE 0x1f600000
-
-#endif /* _SGI_GIO_H */
--
1.5.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] [MIPS] Remove unused header file gio.h
2008-11-26 13:34 [PATCH] [MIPS] Remove unused header file gio.h Dmitri Vorobiev
@ 2008-11-27 9:16 ` Thomas Bogendoerfer
2008-11-27 10:24 ` Vorobiev Dmitri
0 siblings, 1 reply; 7+ messages in thread
From: Thomas Bogendoerfer @ 2008-11-27 9:16 UTC (permalink / raw)
To: Dmitri Vorobiev; +Cc: ralf, linux-mips
On Wed, Nov 26, 2008 at 03:34:32PM +0200, Dmitri Vorobiev wrote:
> Grepping reveals that arch/mips/include/asm/sgi/gio.h is
> not used by anyone, so let's delete the orphan header.
>
> Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
> ---
NAK, I have work in progress, which adds GIO devices and uses this
file.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [MIPS] Remove unused header file gio.h
2008-11-27 9:16 ` Thomas Bogendoerfer
@ 2008-11-27 10:24 ` Vorobiev Dmitri
2008-11-27 10:37 ` Thomas Bogendoerfer
0 siblings, 1 reply; 7+ messages in thread
From: Vorobiev Dmitri @ 2008-11-27 10:24 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: Dmitri Vorobiev, ralf, linux-mips
> On Wed, Nov 26, 2008 at 03:34:32PM +0200, Dmitri Vorobiev wrote:
>> Grepping reveals that arch/mips/include/asm/sgi/gio.h is
>> not used by anyone, so let's delete the orphan header.
>>
>> Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
>> ---
>
> NAK, I have work in progress, which adds GIO devices and uses this
> file.
>
That's interesting news! May I ask you which ones you're working on?
Dmitri
> Thomas.
>
> --
> Crap can work. Given enough thrust pigs will fly, but it's not necessary a
> good idea. [ RFC1925, 2.3 ]
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [MIPS] Remove unused header file gio.h
2008-11-27 10:24 ` Vorobiev Dmitri
@ 2008-11-27 10:37 ` Thomas Bogendoerfer
2008-11-27 11:22 ` Ralf Baechle
2008-11-27 18:39 ` Kumba
0 siblings, 2 replies; 7+ messages in thread
From: Thomas Bogendoerfer @ 2008-11-27 10:37 UTC (permalink / raw)
To: Vorobiev Dmitri; +Cc: ralf, linux-mips
On Thu, Nov 27, 2008 at 12:24:26PM +0200, Vorobiev Dmitri wrote:
> > On Wed, Nov 26, 2008 at 03:34:32PM +0200, Dmitri Vorobiev wrote:
> >> Grepping reveals that arch/mips/include/asm/sgi/gio.h is
> >> not used by anyone, so let's delete the orphan header.
> >>
> >> Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
> >> ---
> >
> > NAK, I have work in progress, which adds GIO devices and uses this
> > file.
> >
>
> That's interesting news! May I ask you which ones you're working on?
first step is to introduce GIO devices similair to PCI devices. My
current working GIO device is solid impact. I also looked at
supporting Phobos G160 cards, but the current set of 2114x drivers
is not useable for that...
The big missing thing in the GIO framework right now is a bullet proof
detection for non standard GIO cards, like newport and XZ cards. They
don't provide ID information...
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [MIPS] Remove unused header file gio.h
2008-11-27 10:37 ` Thomas Bogendoerfer
@ 2008-11-27 11:22 ` Ralf Baechle
2008-11-27 11:34 ` Thomas Bogendoerfer
2008-11-27 18:39 ` Kumba
1 sibling, 1 reply; 7+ messages in thread
From: Ralf Baechle @ 2008-11-27 11:22 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: Vorobiev Dmitri, linux-mips
On Thu, Nov 27, 2008 at 11:37:06AM +0100, Thomas Bogendoerfer wrote:
> first step is to introduce GIO devices similair to PCI devices. My
> current working GIO device is solid impact. I also looked at
> supporting Phobos G160 cards, but the current set of 2114x drivers
> is not useable for that...
>
> The big missing thing in the GIO framework right now is a bullet proof
> detection for non standard GIO cards, like newport and XZ cards. They
> don't provide ID information...
So the resulting code will be a mix of normal probing bus code and
something like "GIO platform devices" which are just added if we somehow
"know" they're there? SGI never stops to amaze me ...
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [MIPS] Remove unused header file gio.h
2008-11-27 11:22 ` Ralf Baechle
@ 2008-11-27 11:34 ` Thomas Bogendoerfer
0 siblings, 0 replies; 7+ messages in thread
From: Thomas Bogendoerfer @ 2008-11-27 11:34 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Vorobiev Dmitri, linux-mips
On Thu, Nov 27, 2008 at 11:22:34AM +0000, Ralf Baechle wrote:
> On Thu, Nov 27, 2008 at 11:37:06AM +0100, Thomas Bogendoerfer wrote:
>
> > first step is to introduce GIO devices similair to PCI devices. My
> > current working GIO device is solid impact. I also looked at
> > supporting Phobos G160 cards, but the current set of 2114x drivers
> > is not useable for that...
> >
> > The big missing thing in the GIO framework right now is a bullet proof
> > detection for non standard GIO cards, like newport and XZ cards. They
> > don't provide ID information...
>
> So the resulting code will be a mix of normal probing bus code and
> something like "GIO platform devices" which are just added if we somehow
> "know" they're there? SGI never stops to amaze me ...
Newport and XZ are probeable somehow, PROM and IRIX gfxinit are able
to do that. I want to integrate the documented probing and the special
probes into the GIO framework.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [MIPS] Remove unused header file gio.h
2008-11-27 10:37 ` Thomas Bogendoerfer
2008-11-27 11:22 ` Ralf Baechle
@ 2008-11-27 18:39 ` Kumba
1 sibling, 0 replies; 7+ messages in thread
From: Kumba @ 2008-11-27 18:39 UTC (permalink / raw)
To: linux-mips; +Cc: Thomas Bogendoerfer
Thomas Bogendoerfer wrote:
>
> first step is to introduce GIO devices similair to PCI devices. My
> current working GIO device is solid impact. I also looked at
> supporting Phobos G160 cards, but the current set of 2114x drivers
> is not useable for that...
FWIW, I also have one of the ThunderLAN GIO cards for IP22, if you want to cook
up a driver for that to test this for networking devices. I also have a G130
too, both plugged into my Indy.
--
Joshua Kinard
Gentoo/MIPS
kumba@gentoo.org
"The past tempts us, the present confuses us, the future frightens us. And our
lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-11-27 18:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 13:34 [PATCH] [MIPS] Remove unused header file gio.h Dmitri Vorobiev
2008-11-27 9:16 ` Thomas Bogendoerfer
2008-11-27 10:24 ` Vorobiev Dmitri
2008-11-27 10:37 ` Thomas Bogendoerfer
2008-11-27 11:22 ` Ralf Baechle
2008-11-27 11:34 ` Thomas Bogendoerfer
2008-11-27 18:39 ` Kumba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox