Subject: re: 1.1 current if_le.c compile problem
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Michael L. Hitch <osymh@lightning.oscs.montana.edu>
List: port-pmax
Date: 05/27/1996 19:47:07
On May 27, 3:44pm, Jonathan Stone wrote:
} I suspect you need to re-run config to rebuild your kernel
} Makefile. The TC if_le.c has been redone to better support LANCE
} devices, on different kinds of busses and boards configured into
} a single kernel (e.g., kernels for Alphas, configured with all of
} IOCTL asic, TC, and ISA/EISA lance interfaces).
I don't think re-running config will help - files.pmax hasn't been
updated to specify the MI LANCE drivers. You will need to change
pmax/conf/files.pmax something like this:
diff -cr /mnt/src/sys/arch/pmax/conf/files.pmax sys/arch/pmax/conf/files.pmax
*** /mnt/src/sys/arch/pmax/conf/files.pmax Tue May 7 05:28:23 1996
--- sys/arch/pmax/conf/files.pmax Sun May 26 14:00:06 1996
***************
*** 108,117 ****
# LANCE ethernet driver.
# XXX Should use new machine-independent one instead.
# device defined in sys/conf/files
! attach le at ioasic with le_pmax
! attach le at tc with le_pmax
attach le at mainbus with le_pmax
! file arch/pmax/tc/if_le.c le_pmax needs-flag
# 3100 (pmax) onboard framebuffer
device pm
--- 108,120 ----
# LANCE ethernet driver.
# XXX Should use new machine-independent one instead.
# device defined in sys/conf/files
! attach le at ioasic with le_ioasic
! attach le at tc with le_tc
attach le at mainbus with le_pmax
! file dev/tc/if_le_ibus.c le_pmax needs-flag
! file dev/tc/if_le_tc.c le_tc
! file dev/tc/if_le_ioasic.c le_ioasic needs-flag
! file dev/tc/if_le_dec.c le_pmax | le_tc | le_ioasic
# 3100 (pmax) onboard framebuffer
device pm
} I'm told there are still bugs in the -current kernel, particularly
} in the RTC driver, which will cause it to not configure the clock properly,
} and therefore to not boot on a TC or IOASIC machine.
The -current RTC driver will not enable the RTC clock on a DS5000/25.
It's taken me several days to track this one down. I'm not certain
about other TC/IOASIC machines.
I also think the -current kernel will not work on a DS3100/2100. There's
a conflict with the TC configuration routines. Configuring a DS3100-only
kernel without the "tc" and "asic" config lines would get around this
problem, but there are then several places which will try to reference
structures used by the "tc" and "asic" files. I think I may now have
changes that will fix these problems.
Michael
--
Michael L. Hitch INTERNET: osymh@montana.edu
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA