Bugzilla – Attachment 208350 Details for
Bug 380298
sax2: failed to setup two G* Matrox cards
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
sax2.diff
sax2.diff (text/plain), 683 bytes, created by
Marcus Schaefer
on 2008-04-16 14:58:54 UTC
(
hide
)
Description:
sax2.diff
Filename:
MIME Type:
Creator:
Marcus Schaefer
Created:
2008-04-16 14:58:54 UTC
Size:
683 bytes
patch
obsolete
>Index: init.pl >=================================================================== >--- /usr/share/sax/init.pl (revision 1572) >+++ /usr/share/sax/init.pl (working copy) >@@ -566,16 +566,25 @@ > my $size = @data; > my $chip = -1; > if ($size == 2) { >+ my $hasIntel = 0; > foreach my $line (@data) { >+ if ($line =~ /(i810|intel)$/) { >+ $hasIntel = 1; last; >+ } >+ } >+ if (! $hasIntel) { >+ return; >+ } >+ foreach my $line (@data) { > $chip++; > if ($line =~ /(i810|intel)$/) { > $chip = $chip ^ 1; last; > } > } >+ if ($chip >= 0) { >+ $CardNumber = $chip; >+ } > } >- if ($chip >= 0) { >- $CardNumber = $chip; >- } > } > > #==========================================
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 380298
:
208223
|
208343
|
208344
| 208350 |
208354