From: Chris Rankin <rankincj@yahoo.com>
To: tigran@veritas.com
Cc: linux-kernel@vger.kernel.org
Subject: Linux IA32 microcode driver
Date: Sat, 22 Dec 2001 12:58:18 +0000 (GMT) [thread overview]
Message-ID: <200112221258.fBMCwIVl005421@twopit.underworld> (raw)
Hi,
Am I missing something rather obvious, or is the /dev/cpu/microcode
device being mis-created under devfs with Linux 2.4.x? I have enclosed
a patch to ensure that the character device really *is* a character
device.
Cheers,
Chris
--- linux-2.4.17/arch/i386/kernel/microcode.c.orig Sat Dec 22 12:37:07 2001
+++ linux-2.4.17/arch/i386/kernel/microcode.c Sat Dec 22 12:43:10 2001
@@ -125,7 +125,7 @@
MICROCODE_MINOR);
devfs_handle = devfs_register(NULL, "cpu/microcode",
- DEVFS_FL_DEFAULT, 0, 0, S_IFREG | S_IRUSR | S_IWUSR,
+ DEVFS_FL_DEFAULT, 0, 0, S_IFCHR | S_IRUSR | S_IWUSR,
µcode_fops, NULL);
if (devfs_handle == NULL && error) {
printk(KERN_ERR "microcode: failed to devfs_register()\n");
next reply other threads:[~2001-12-22 12:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-22 12:58 Chris Rankin [this message]
2001-12-22 18:53 ` Ben Clifford
2001-12-23 1:38 ` Chris Rankin
2001-12-23 9:34 ` Tigran Aivazian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200112221258.fBMCwIVl005421@twopit.underworld \
--to=rankincj@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tigran@veritas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®