summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/ng1.h
blob: 7c7104415001c7fd438caadf9919d872b6de21d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* $Id$
 *
 * 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.
 *
 * SGI/Newport video card ioctl definitions
 */
#ifndef _ASM_NG1_H
#define _ASM_NG1_H

typedef struct {
        int flags;
        __u16 w, h;
        __u16 fields_sec;
} ng1_vof_info_t;

struct ng1_info {
	struct gfx_info gfx_info;
	__u8 boardrev;
        __u8 rex3rev;
        __u8 vc2rev;
        __u8 monitortype;
        __u8 videoinstalled;
        __u8 mcrev;
        __u8 bitplanes;
        __u8 xmap9rev;
        __u8 cmaprev;
        ng1_vof_info_t ng1_vof_info;
        __u8 bt445rev;
        __u8 paneltype;
};

#define GFX_NAME_NEWPORT "NG1"

/* ioctls */
#define NG1_SET_CURSOR_HOTSPOT 21001
struct ng1_set_cursor_hotspot {
	unsigned short xhot;
        unsigned short yhot;
};

#define NG1_SETDISPLAYMODE     21006
struct ng1_setdisplaymode_args {
        int wid;
        unsigned int mode;
};

#define NG1_SETGAMMARAMP0      21007
struct ng1_setgammaramp_args {
        unsigned char red   [256];
        unsigned char green [256];
        unsigned char blue  [256];
};

#endif /* _ASM_NG1_H */
a>Harald Koerfgen2000-05-246-8/+6 | * Add a rule for offset.h.Ulf Carlsson2000-05-232-0/+6 | * HousekeepingHarald Koerfgen2000-05-234-197/+2 | * The last CONFIG_HAVE_IO_PORTS...Harald Koerfgen2000-05-231-1/+1 | * Also kill CONFIG_HAVE_IO_PORTS.Ralf Baechle2000-05-231-5/+4 | * Eleminate CONFIG_HAVE_IO_PORTS, it was a synonym for what is nowRalf Baechle2000-05-231-6/+5 | | | | CONFIG_ISA. * Implement private_ioctl driver method, this is needed by mii-tool fromRalf Baechle2000-05-231-12/+64 | | | | | net-tools. Protect all MII accesses with ioc3_lock, this is needed by media negotiation. * Update defconfig files.Ralf Baechle2000-05-237-10/+98 | * Fix for SCSI CDRom module needed symbol irq_stat - Fix by Klaus NaumannFlorian Lohoff2000-05-221-0/+2 | * Typo fixedHarald Koerfgen2000-05-211-1/+1 | * Parallel initialization: each hub now tries to discover the xbowKanoj Sarcar2000-05-203-54/+74 | | | | | | connected to it, and sees whether it should become the master of the attached bridges. Also, maintain information per bridge as to which nasid/cpu to deliver interrupts to. * We have to check for pending signals when we return from do_page_fault toUlf Carlsson2000-05-201-1/+1 | | | | handle sigbus and sigsegv within a reasonable amount of time. * Fix namespace collision between serial.c and sgiserial.c which couldRalf Baechle2000-05-192-2/+8 | | | | hit in certain weirdo configurations. * Update comment.Ralf Baechle2000-05-191-0/+1 | * Call syscall_trace after finishing the sigreturn syscall but beforeRalf Baechle2000-05-194-0/+15 | | | | returning from userspace. * Let tty_io.c call init_serial_console (CONFIG_SERIAL vs. CONFIG_SGI_SERIAL)Florian Lohoff2000-05-191-1/+1 | * Move sgiserial initialization to a much better placeFlorian Lohoff2000-05-192-1/+2 | * Implement a more dynamic method of associating IRQs with PCI devices.Kanoj Sarcar2000-05-193-56/+79 | | | | | Instead of encoding bus/slot numbers in the IRQ, have seperate arrays to store that information. * ip27-timer.c: Use the realtime clock for do_gettimeofday and do_settimeofdayUlf Carlsson2000-05-191-1/+33 | | | | to get microsecond precision. * irq.h: With the current scheme of encoding the bus number into theKanoj Sarcar2000-05-183-5/+6 | | | | | | | pci irq, we need to bump up NR_IRQs to handle more than 4 PCI busses. io.h: Port numbers are really "unsigned long", since they need to contain the nasids too. ip27-pci.c: Encode the nasid into the port number for isp1020 for pio. * Less intrusive workaround for the gas ``-P'' bug.Ralf Baechle2000-05-181-1/+4 | * Misc fixes.Kanoj Sarcar2000-05-171-8/+7 | * Modify the SMP bootup sequence slightly, so that the master waitsKanoj Sarcar2000-05-171-5/+7 | | | | | a little longer till the slaves are about ready to begin their idle loop. * The device initialization code can not assume it is being invoked onKanoj Sarcar2000-05-172-2/+7 | | | | | | the master processor, aka processor 0, or on nasid 0. In an SMP environment, any cpu can be doing do_basic_setup(). This fixes the rare bootup problems we were seeing on SMP. * Fix rx/tx byte accounting. From Flo and Klaus Naumann.Ralf Baechle2000-05-161-1/+3 | * Some cleaning of the support for machines with HZ other than aRalf Baechle2000-05-1616-4/+40 | | | | | architecture specific standard value. Not entirely at the point where we can send this to Linus. * Cleanup RTC definitions. Patch with the entire MIPS RTC relatedRalf Baechle2000-05-162-3/+30 | | | | headerfile changes sent to Linus. * Some small fixes and cleanups:Harald Koerfgen2000-05-166-61/+44 | | | | | | | | o superfluidous #ifdef __KERNEL__ in include/asm-mips/socket.h removed o we don't need a little endian version of waking_non_zero_interruptible() o arch/mips/config.in fixes and improvements o compile floppy/kbd/ide support only when the CONFIG options are set o IP22s aren't the only MIPS boxes without a PC speaker * Fix SOCK_ constant definitions for all architectures. Patch sent toRalf Baechle2000-05-1612-43/+166 | | | | | Linus. Our diffs relativ to Linus' latest and greatest is getting fairly small now. * Remove references to dead flag ASYNC_IOC3.Ralf Baechle2000-05-162-2/+1 | * Fix the bridge register programming to indicate a 1:1 mapping betweenKanoj Sarcar2000-05-161-2/+3 | | | | PCI slot number and intr pin number. * Move the intercpu intr irq numbers to the lowest possible. AssignKanoj Sarcar2000-05-153-69/+57 | | | | | | | all PCI irqs above that. Fix pci_map_irq to not just have 2 bits for slot number, else irq numbers will not be unique. Include the bus number as part of the irq for now, so that scsi controllers on various PCI busses get unique irq numbers. * Fix copyright message. Linus flamed me on these messages so pleaseRalf Baechle2000-05-153-48/+31 | | | | | make sure for the future that the (C) notice is ok. ``unpublished proprietary information of Silicon Graphics'' isn't good ... * Fix races in the low level intr handling code to prevent intr lossKanoj Sarcar2000-05-131-14/+28 | | | | | and double servicing of intrs. Read checked in comments for more details. * sigset_t fixes and a few new functions..Ulf Carlsson2000-05-132-26/+206 | * sigset_t is only 2 words nowadaysUlf Carlsson2000-05-131-3/+1 | * Merge with Linux 2.3.99-pre8. Linus must hate me, too man patches ;-)Ralf Baechle2000-05-12