Re: [patch-2.3.36-p3] dd if=microcode of=/proc/driver/microcode bs=98304 count=1

From: H. Peter Anvin (hpa@transmeta.com)
Date: Wed Feb 16 2000 - 23:50:14 EST


Followup to: <200002170007.LAA06523@mobilix.atnf.CSIRO.AU>
By author: Richard Gooch <rgooch@ras.ucalgary.ca>
In newsgroup: linux.dev.kernel
>
> Tigran Aivazian writes:
> > Hi Linus,
> >
> > This version implements a write-only file /proc/driver/microcode
> > which gets rid of the need of any specialized tools. No ioctls -
> > just write method. Why do we need ioctl here? We don't.
>
> Devfs has just gone into 2.3.46-pre5, as has your microcode patch. So
> how about putting in a patch to drop the /proc interface and replace
> it with a devfs interface? Just pop in a call to devfs_register().
>

Seriously. If we're going to have devfs, let's do it right rather
than half-hack it in /proc. The /proc stuff has all the problems of a
super-naïve implementation of devfs, and unlike Richard's devfs
doesn't have even a hacky way around the problems.

Now devfs is in the kernel, so let's just work out the kinks and make
it do what we need it to do.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:17 EST