Subject: Re: pseudo-device `rd' renamed to `md'
To: Paul Kranenburg <pk@cs.few.eur.nl>
From: Iain Hibbert <plunky@skate.demon.co.uk>
List: current-users
Date: 12/30/1996 20:02:58
On Sun, 29 Dec 1996, Paul Kranenburg wrote:

> The ram disk device `rd' has been renamed to `md', to avoid a name clash
> with a real disk device called `rd' in the HP port.

Paul, I seem to be having a problem with this..  can't compile a new 
kernel..  I have no "pseudo-device md" in my config file, and md.h 
defines NMD as 0..  compiling conf.c gives me this though..

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -I. 
-I../../../../arch -I../../../.. -nostdinc -DSWAPPAGER -DVNODEPAGER 
-DDEVPAGER -DEXEC_AOUT -DEXEC_SCRIPT -DSUN4C -DKTRACE -DSYSVMSG -DSYSVSEM 
-DSYSVSHM -DLKM -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 
-DCOMPAT_SUNOS -DFFS -DQUOTA -DKERNFS -DNULLFS -DMFS -DPROCFS -DCD9660 
-DUNION -DFIFO -DINET -DTCP_COMPAT_42 -DRASTERCONSOLE -DMAXUSERS=8 
-D_KERNEL  -c ../../../../arch/sparc/sparc/conf.c
../../../../arch/sparc/sparc/conf.c:91: `mdopen' undeclared here (not in a function)
../../../../arch/sparc/sparc/conf.c:91: initializer element for `bdevsw[5].d_open' is not constant
../../../../arch/sparc/sparc/conf.c:91: `mdclose' undeclared here (not in a function) 
../../../../arch/sparc/sparc/conf.c:91: initializer element for `bdevsw[5].d_close' is not constant
../../../../arch/sparc/sparc/conf.c:91: `mdstrategy' undeclared here (not in a function)

[etc for all the device entry points..] even if I add the pseudo-device to my
config file, it still does it..  have you done something wrong, or have I not
done something?  it does this even with the GENERIC file.. 

iain