Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4a7e6edc
Commit
4a7e6edc
authored
Aug 20, 2003
by
Tom Rini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Minor fixups to the Motorola Sandpoint platform.
parent
f521ecec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
arch/ppc/platforms/sandpoint.c
arch/ppc/platforms/sandpoint.c
+15
-15
arch/ppc/platforms/sandpoint.h
arch/ppc/platforms/sandpoint.h
+2
-2
No files found.
arch/ppc/platforms/sandpoint.c
View file @
4a7e6edc
...
...
@@ -356,6 +356,21 @@ sandpoint_setup_arch(void)
SANDPOINT_87308_CFG_OUTB(0x30, 0x01); \
}
/*
* Fix IDE interrupts.
*/
static
int
__init
sandpoint_fix_winbond_83553
(
void
)
{
/* Make all 8259 interrupt level sensitive */
outb
(
0xf8
,
0x4d0
);
outb
(
0xde
,
0x4d1
);
return
0
;
}
arch_initcall
(
sandpoint_fix_winbond_83553
);
/*
* Initialize the ISA devices on the Nat'l PC87308VUL SuperIO chip.
*/
...
...
@@ -391,21 +406,6 @@ sandpoint_setup_natl_87308(void)
arch_initcall
(
sandpoint_setup_natl_87308
);
/*
* Fix IDE interrupts.
*/
static
int
__init
sandpoint_fix_winbond_83553
(
void
)
{
/* Make all 8259 interrupt level sensitive */
outb
(
0xf8
,
0x4d0
);
outb
(
0xde
,
0x4d1
);
return
0
;
}
arch_initcall
(
sandpoint_fix_winbond_83553
);
static
int
__init
sandpoint_request_io
(
void
)
{
...
...
arch/ppc/platforms/sandpoint.h
View file @
4a7e6edc
...
...
@@ -61,9 +61,9 @@
#define UART_CLK 1843200
#ifdef CONFIG_SERIAL_DETECT_IRQ
#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_
SKIP_TEST|ASYNC_
AUTO_IRQ)
#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_AUTO_IRQ)
#else
#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF
|ASYNC_SKIP_TEST
)
#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF)
#endif
#define STD_SERIAL_PORT_DFNS \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment