USB: remove warn() macro from usb drivers
[linux/fpc-iii.git] / include / asm-m68k / machw.h
blob35624998291c91059b368f0b813517ef6970fadb
1 /*
2 ** linux/machw.h -- This header defines some macros and pointers for
3 ** the various Macintosh custom hardware registers.
4 **
5 ** Copyright 1997 by Michael Schmitz
6 **
7 ** This file is subject to the terms and conditions of the GNU General Public
8 ** License. See the file COPYING in the main directory of this archive
9 ** for more details.
13 #ifndef _ASM_MACHW_H_
14 #define _ASM_MACHW_H_
17 * head.S maps the videomem to VIDEOMEMBASE
20 #define VIDEOMEMBASE 0xf0000000
21 #define VIDEOMEMSIZE (4096*1024)
22 #define VIDEOMEMMASK (-4096*1024)
24 #ifndef __ASSEMBLY__
26 #include <linux/types.h>
28 #if 0
29 /* Mac SCSI Controller 5380 */
31 #define MAC_5380_BAS (0x50F10000) /* This is definitely wrong!! */
32 struct MAC_5380 {
33 u_char scsi_data;
34 u_char char_dummy1;
35 u_char scsi_icr;
36 u_char char_dummy2;
37 u_char scsi_mode;
38 u_char char_dummy3;
39 u_char scsi_tcr;
40 u_char char_dummy4;
41 u_char scsi_idstat;
42 u_char char_dummy5;
43 u_char scsi_dmastat;
44 u_char char_dummy6;
45 u_char scsi_targrcv;
46 u_char char_dummy7;
47 u_char scsi_inircv;
49 #define mac_scsi ((*(volatile struct MAC_5380 *)MAC_5380_BAS))
52 ** SCC Z8530
55 #define MAC_SCC_BAS (0x50F04000)
56 struct MAC_SCC
58 u_char cha_a_ctrl;
59 u_char char_dummy1;
60 u_char cha_a_data;
61 u_char char_dummy2;
62 u_char cha_b_ctrl;
63 u_char char_dummy3;
64 u_char cha_b_data;
66 # define mac_scc ((*(volatile struct SCC*)MAC_SCC_BAS))
67 #endif
69 #endif /* __ASSEMBLY__ */
71 #endif /* linux/machw.h */