Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102399
b: refs/heads/master
c: 0795dbc
h: refs/heads/master
i:
  102397: b43bdd3
  102395: 83ebfca
  102391: c6f0749
  102383: c4058f6
  102367: 872c90c
  102335: f98d4f8
  102271: 2a3b20f
  102143: 3327e60
  101887: 55de5f2
  101375: 41a723b
  100351: 8a46db1
  98303: 8d3fd52
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jul 21, 2008
1 parent c4b5a07 commit 63fdcda
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 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: 880e5e212ec5ab12411e40c78bd5ac501e9caeed
refs/heads/master: 0795dbcc4c4c93a929463957993c04cf5fec346c
20 changes: 6 additions & 14 deletions trunk/arch/m68k/amiga/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,11 @@
#include <asm/machdep.h>
#include <asm/io.h>

unsigned long amiga_model;
EXPORT_SYMBOL(amiga_model);
static unsigned long amiga_model;

unsigned long amiga_eclock;
EXPORT_SYMBOL(amiga_eclock);

unsigned long amiga_masterclock;

unsigned long amiga_colorclock;
EXPORT_SYMBOL(amiga_colorclock);

Expand All @@ -53,7 +50,7 @@ EXPORT_SYMBOL(amiga_chipset);
unsigned char amiga_vblank;
EXPORT_SYMBOL(amiga_vblank);

unsigned char amiga_psfreq;
static unsigned char amiga_psfreq;

struct amiga_hw_present amiga_hw_present;
EXPORT_SYMBOL(amiga_hw_present);
Expand Down Expand Up @@ -94,8 +91,6 @@ static char *amiga_models[] __initdata = {
static char amiga_model_name[13] = "Amiga ";

static void amiga_sched_init(irq_handler_t handler);
/* amiga specific irq functions */
extern void amiga_init_IRQ(void);
static void amiga_get_model(char *model);
static int amiga_get_hardware_list(char *buffer);
/* amiga specific timer functions */
Expand All @@ -109,8 +104,6 @@ static void amiga_reset(void);
extern void amiga_init_sound(void);
static void amiga_mem_console_write(struct console *co, const char *b,
unsigned int count);
void amiga_serial_console_write(struct console *co, const char *s,
unsigned int count);
#ifdef CONFIG_HEARTBEAT
static void amiga_heartbeat(int on);
#endif
Expand Down Expand Up @@ -420,8 +413,7 @@ void __init config_amiga(void)
mach_heartbeat = amiga_heartbeat;
#endif

/* Fill in the clock values (based on the 700 kHz E-Clock) */
amiga_masterclock = 40*amiga_eclock; /* 28 MHz */
/* Fill in the clock value (based on the 700 kHz E-Clock) */
amiga_colorclock = 5*amiga_eclock; /* 3.5 MHz */

/* clear all DMA bits */
Expand Down Expand Up @@ -819,8 +811,8 @@ static void amiga_serial_putc(char c)
;
}

void amiga_serial_console_write(struct console *co, const char *s,
unsigned int count)
static void amiga_serial_console_write(struct console *co, const char *s,
unsigned int count)
{
while (count--) {
if (*s == '\n')
Expand All @@ -829,7 +821,7 @@ void amiga_serial_console_write(struct console *co, const char *s,
}
}

#ifdef CONFIG_SERIAL_CONSOLE
#if 0
void amiga_serial_puts(const char *s)
{
amiga_serial_console_write(NULL, s, strlen(s));
Expand Down
4 changes: 0 additions & 4 deletions trunk/include/asm-m68k/amigahw.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
* Different Amiga models
*/

extern unsigned long amiga_model;

#define AMI_UNKNOWN (0)
#define AMI_500 (1)
#define AMI_500PLUS (2)
Expand Down Expand Up @@ -59,11 +57,9 @@ extern unsigned long amiga_chipset;
*/

extern unsigned long amiga_eclock; /* 700 kHz E Peripheral Clock */
extern unsigned long amiga_masterclock; /* 28 MHz Master Clock */
extern unsigned long amiga_colorclock; /* 3.5 MHz Color Clock */
extern unsigned long amiga_chip_size; /* Chip RAM Size (bytes) */
extern unsigned char amiga_vblank; /* VBLANK Frequency */
extern unsigned char amiga_psfreq; /* Power Supply Frequency */


#define AMIGAHW_DECLARE(name) unsigned name : 1
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-m68k/amigaints.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
#define CIA_ICR_ALL 0x1f
#define CIA_ICR_SETCLR 0x80

extern void amiga_init_IRQ(void);

/* to access the interrupt control registers of CIA's use only
** these functions, they behave exactly like the amiga os routines
*/
Expand Down

0 comments on commit 63fdcda

Please sign in to comment.