wrong order of src and dest in outb()
This commit is contained in:
parent
0d5ceca823
commit
43a7eb5251
4 changed files with 12 additions and 13 deletions
|
|
@ -247,13 +247,13 @@ static void
|
|||
timer0_fixup(void)
|
||||
{
|
||||
/* select Timer 0, 16 Bit Access, Mode 3, Binary */
|
||||
outb_p(0x43, 0x36);
|
||||
outb_p(0x36, 0x43);
|
||||
|
||||
/* Load LSB, 0x00 */
|
||||
outb_p(0x40, 0x00);
|
||||
outb_p(0x00, 0x40);
|
||||
|
||||
/* Load MSB, 0x00 */
|
||||
outb_p(0x40, 0x00);
|
||||
outb_p(0x00, 0x40);
|
||||
}
|
||||
|
||||
/* rtc_fixup: Fix up the Real Time Clock
|
||||
|
|
|
|||
|
|
@ -201,13 +201,13 @@ static void
|
|||
timer0_fixup(void)
|
||||
{
|
||||
/* select Timer 0, 16 Bit Access, Mode 3, Binary */
|
||||
outb_p(0x43, 0x36);
|
||||
outb_p(0x36, 0x43);
|
||||
|
||||
/* Load LSB, 0x00 */
|
||||
outb_p(0x40, 0x00);
|
||||
outb_p(0x00, 0x40);
|
||||
|
||||
/* Load MSB, 0x00 */
|
||||
outb_p(0x40, 0x00);
|
||||
outb_p(0x00, 0x40);
|
||||
}
|
||||
|
||||
/* rtc_fixup: Fix up the Real Time Clock
|
||||
|
|
|
|||
|
|
@ -246,15 +246,14 @@ static void
|
|||
timer0_fixup(void)
|
||||
{
|
||||
/* select Timer 0, 16 Bit Access, Mode 3, Binary */
|
||||
outb_p(0x43, 0x36);
|
||||
outb_p(0x36, 0x43);
|
||||
|
||||
/* Load LSB, 0x00 */
|
||||
outb_p(0x40, 0x00);
|
||||
outb_p(0x00, 0x40);
|
||||
|
||||
/* Load MSB, 0x00 */
|
||||
outb_p(0x40, 0x00);
|
||||
outb_p(0x00, 0x40);
|
||||
}
|
||||
|
||||
/* rtc_fixup: Fix up the Real Time Clock
|
||||
*
|
||||
* The Real Time Clock updates the day/time information in the CMOS RAM every second.
|
||||
|
|
|
|||
|
|
@ -206,13 +206,13 @@ static void
|
|||
timer0_fixup(void)
|
||||
{
|
||||
/* select Timer 0, 16 Bit Access, Mode 3, Binary */
|
||||
outb_p(0x43, 0x36);
|
||||
outb_p(0x36, 0x43);
|
||||
|
||||
/* Load LSB, 0x00 */
|
||||
outb_p(0x40, 0x00);
|
||||
outb_p(0x00, 0x40);
|
||||
|
||||
/* Load MSB, 0x00 */
|
||||
outb_p(0x40, 0x00);
|
||||
outb_p(0x00, 0x40);
|
||||
}
|
||||
|
||||
/* rtc_fixup: Fix up the Real Time Clock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue