Subject: AW: dmesg on PCI_CONFIG_DUMP
To: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
From: Andreas Fuchs <fox@tcnet.ch>
List: port-cobalt
Date: 01/27/2004 15:30:12
I don't have much success with aplying the patch from:
http://mail-index.netbsd.org/port-cobalt/2004/01/10/0001.html
any ideas ?

qube:/sys/arch/cobalt # patch -p <
/sys/arch/cobalt/patches/multifuncpci.diff
Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|Index: dev/gt.c
|===================================================================
|RCS file: /cvsroot/src/sys/arch/cobalt/dev/gt.c,v
|retrieving revision 1.9
|diff -c -r1.9 gt.c
|*** dev/gt.c2003/07/15 01:29:231.9
|--- dev/gt.c2004/01/09 16:49:58
--------------------------
Patching file dev/gt.c using Plan A...
Hunk #1 succeeded at 39 with fuzz 1 (offset -3 lines).
Hunk #2 failed at 77.
Hunk #3 failed at 88.
2 out of 3 hunks failed--saving rejects to dev/gt.c.rej
Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|Index: include/pci_machdep.h
|===================================================================
|RCS file: /cvsroot/src/sys/arch/cobalt/include/pci_machdep.h,v
|retrieving revision 1.5
|diff -c -r1.5 pci_machdep.h
|*** include/pci_machdep.h2002/05/15 19:23:531.5
|--- include/pci_machdep.h2004/01/09 16:49:58
--------------------------
Patching file include/pci_machdep.h using Plan A...
Hunk #1 failed at 34.
Hunk #2 failed at 73.
2 out of 2 hunks failed--saving rejects to include/pci_machdep.h.rej
Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|Index: pci/pci_machdep.c
|===================================================================
|RCS file: /cvsroot/src/sys/arch/cobalt/pci/pci_machdep.c,v
|retrieving revision 1.15
|diff -c -r1.15 pci_machdep.c
|*** pci/pci_machdep.c2003/09/12 17:55:521.15
|--- pci/pci_machdep.c2004/01/09 16:49:58
--------------------------
Patching file pci/pci_machdep.c using Plan A...
Hunk #1 succeeded at 31 (offset -3 lines).
Hunk #2 succeeded at 44 (offset 1 line).
Hunk #3 succeeded at 226 with fuzz 2 (offset 1 line).
patch: **** misordered hunks! output would be garbled
qube:/sys/arch/cobalt #