Linux PARISC architecture development
 help / color / mirror / Atom feed
From: "James Braid" <james.braid@peace.com>
To: <parisc-linux@lists.parisc-linux.org>
Subject: RE: [parisc-linux] mkraid doesnt work on L2000 with 64-bit kernel
Date: Wed, 1 May 2002 16:30:34 +1200	[thread overview]
Message-ID: <005201c1f0c8$ef5fc140$5e01000a@bongo> (raw)
In-Reply-To: <003801c1f0c7$e6687c90$5e01000a@bongo>

 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Damnit, Outlook screwed up the patch. Lets try again:

- --- kernel-source-2.4.17-hppa/arch/parisc/kernel/ioctl32.c      Fri
Nov  2 18:54:54 2001
+++ kernel-source-2.4.17-hppa-patch/arch/parisc/kernel/ioctl32.c     
  Wed May  1 03:46:28 2002
@@ -19,9 +19,7 @@
 #include <linux/if.h>
 #include <linux/slab.h>
 #include <linux/hdreg.h>
- -#if 0 /* New RAID code is half-merged... -DaveM */
- -#include <linux/md.h>
- -#endif
+#include <linux/raid/md.h>
 #include <linux/kd.h>
 #include <linux/route.h>
 #include <linux/skbuff.h>
@@ -2880,16 +2878,26 @@ COMPATIBLE_IOCTL(BLKFRASET)
 COMPATIBLE_IOCTL(BLKSECTSET)
 COMPATIBLE_IOCTL(BLKSSZGET)

- -#if 0
- -       /* New RAID code is being merged, fix up to handle
- -        * new RAID ioctls when fully merged in 2.3.x -DaveM
- -        */
- -/* 0x09 */
- -COMPATIBLE_IOCTL(REGISTER_DEV)
- -COMPATIBLE_IOCTL(REGISTER_DEV_NEW)
- -COMPATIBLE_IOCTL(START_MD)
- -COMPATIBLE_IOCTL(STOP_MD)
- -#endif
+/* RAID */
+COMPATIBLE_IOCTL(RAID_VERSION)
+COMPATIBLE_IOCTL(GET_ARRAY_INFO)
+COMPATIBLE_IOCTL(GET_DISK_INFO)
+COMPATIBLE_IOCTL(PRINT_RAID_DEBUG)
+COMPATIBLE_IOCTL(CLEAR_ARRAY)
+COMPATIBLE_IOCTL(ADD_NEW_DISK)
+COMPATIBLE_IOCTL(HOT_REMOVE_DISK)
+COMPATIBLE_IOCTL(SET_ARRAY_INFO)
+COMPATIBLE_IOCTL(SET_DISK_INFO)
+COMPATIBLE_IOCTL(WRITE_RAID_INFO)
+COMPATIBLE_IOCTL(UNPROTECT_ARRAY)
+COMPATIBLE_IOCTL(PROTECT_ARRAY)
+COMPATIBLE_IOCTL(HOT_ADD_DISK)
+COMPATIBLE_IOCTL(SET_DISK_FAULTY)
+COMPATIBLE_IOCTL(RUN_ARRAY)
+COMPATIBLE_IOCTL(START_ARRAY)
+COMPATIBLE_IOCTL(STOP_ARRAY)
+COMPATIBLE_IOCTL(STOP_ARRAY_RO)
+COMPATIBLE_IOCTL(RESTART_ARRAY_RW)

 /* Big K */
 COMPATIBLE_IOCTL(PIO_FONT)

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.1.1

iQA/AwUBPM9valW+bhIOiSqWEQJbowCfez+Sb6Men2Z8T/ljnWjjW+smEtAAoPAu
Vjzu9ywhCGI84WvC1scXkfgP
=QUrJ
-----END PGP SIGNATURE-----

  reply	other threads:[~2002-05-01  4:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-30  5:58 [parisc-linux] mkraid doesnt work on L2000 with 64-bit kernel James Braid
2002-04-30 23:57 ` Paul Bame
2002-05-01  0:42 ` Grant Grundler
2002-05-01  1:15   ` James Braid
2002-05-01  1:25   ` James Braid
2002-05-01  2:08     ` Matthew Wilcox
2002-05-01  3:42     ` Grant Grundler
2002-05-01  4:23       ` James Braid
2002-05-01  4:30         ` James Braid [this message]
2002-05-01  4:31         ` James Braid
2002-05-01  5:10           ` Randolph Chung

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='005201c1f0c8$ef5fc140$5e01000a@bongo' \
    --to=james.braid@peace.com \
    --cc=parisc-linux@lists.parisc-linux.org \
    /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