Some simple typos.

This commit is contained in:
Ronald G. Minnich 2001-12-05 18:53:22 +00:00
parent 69ee1d44e0
commit 2360367365
2 changed files with 4 additions and 7 deletions

View file

@ -35,8 +35,7 @@ jmp intel_430_out
movl $(0x60 + ((n) -1)), %eax ; \
PCI_READ_CONFIG_BYTE ; \
andl $0xFF, %eax ; \
/* 4 MB granularity for the 430TX */
shll $22, %eax ; \
shll $22, %eax ; /* 4 MB granularity for the 430TX */
#define DIMM_READ \
addl %ebx, %eax ; \

View file

@ -45,12 +45,10 @@
#define SMC_WRITE(device, data, index) \
mov $0x07, %al ; \
mov $SMC_INDEX, %dx ; \
outb %al, %dx ;
outb %al, %dx ; \
mov device, %al ; \
mov $SMC_DATA, %dx ; \
outb %al, %dx ;
outb %al, %dx ; \
mov data, %ah ; \
mov index, %al ; \
mov $SMC_INDEX, %dx ; \
@ -69,7 +67,7 @@
/* Check for Device ID */
SMC_READ($0x20)
cmp %al, $0x40
cmp $0x40, %al
je 2f
mov $0xfe, %al
outb %al, $0x80