lkml.org 
[lkml]   [1996]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectNCR53C8XX-1.14c: IDENTIFY(DiscPriv) control per device (patch)


Some scsi devices (CD/ROMs) do not support properly disconnections.
With this new patch, the driver allows to control scsi disconnection
privilege per device after boot-up through the proc/scsi file system.

People who have flawed scsi devices can now disable all scsi features at
start-up (kernel config) and enable later features for devices that
support them properly.

Changes:

- Allow to specify "all" to commands that apply to #target.
For example: "setsync all 255" sets asynchronous data
transfers for all targets on a bus.

- Allow to control disconnection privilege per device, as follow:
"setflag #target no_sync" disables disconnection for #target.
"setflag #target" with no flag specified reenables it.

Obviously #target may be specified as "all" in order to control
disconnection for all targets with a single control command.

- README file updated and some hints about SCSI problems solving added.

The corresponding patches and sources for linux-1.2.13 and
linux-2.0.22 to 2.0.25 are immediately available at:

ftp://linux.wauug.org/pub/roudier/ncrBsd2Linux-1.14c-src.tar.gz

A new slackware boot disk using 5 Mhz sync data transfers by default and our
latest stable linux-2.0.25 will be available to-morrow at the same location.

Here is the patch for linux-2.1.8:

begin 644 ncr53c8xx-14b-to-14c.patch.gz
M'XL("$TEA3(``VYC<C4S8SAX>"TQ-&(M=&\M,31C+G!A=&-H`,U:^W,:29+^
M&?Z*'$VL%P9H00-Z8%MG1L8>[<JR0X]93^QN$$UW@?K4=+/]D,S<^/[V^S*K
M7[3`EGUW$:N8L41W55:^\\LL.IT.>:Z??-IW0O=>A=%^9$?NOF^'P[Y]].F3
M<6MTN[4K*Z:+X)[HF,SNR.R/!B;UCH\/ZJU6ZRO;*WL'Q_A/[WWUBCJ#8?N0
M6O+OJU=UVO^I3C_]5+NPEHHLWZ%0W;N1&_@4S"F^5:0/P9K]>N='1\U=7]'5
MZ=79].+T<OKZ\NS7R>7T8OQN4JOMY2Q0IR#3,WJ#V5Z]];U[[;TZ4<[FV;P@
M</5A<GHV/I^^F8RO;RXG5^1&I`]QVO7.UY1L5Y3<.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OU#%31?@-=-[&P2.]KGB
ML3[9(H]'G6`+P4\+GN=;SCTD1&!*1%;\O=[*<C2KZCI<EV9I,OM-(XN'T9("
M]3'56EP=T7+XZ`N12,4RBF6%FL/==R&P]=_89]*S1?R=H5N^$:A^=<ZHG"Y3
MW/[7#]:38WW-E\_6R\/C?EOJPZ,!\L:86T;QU>%OF1WY?E"?!D_61+RUI&XP
MQMZKNWE=DW-,[>JQ^WM..GFQF`=)FG'3Y5;Z,;.UD!*_+F5B0;_U5IJT,]Y*
MNW1;53#!V=?X?[F%F^AJ]*C=T@-N/<_><:&_9<C]/7?ZVV;ECZ[U3;.XUN^U
M^]3JM<TN@QO``E^6#LCLC;I=659-:HV=28V_"_%3Z0K:WKB.KG[3%XNOLH16
MB5I.?R%_/0#P1B."6H?&^@8GR"]H])TC0]XL9XB5\^O$'[47PM%JM)$%JK&/
MX.<'6RJR;-WX*?)C]8NQ?#.8QU69WTRXS:L9%+5[^`.2WTJ%.>8MS4;YZ#Q-
M_)A=C.GPW\O@0+3EPF=#[BJ%XFY1GFI=,O1&5^IKBFEL8G->&?/S&3)Q+<VW
M@6%MAW*US206(MMOI#*MI;6!&R9/5?T@4V4I?H#,81D^6#(>TCY@(]NNN)2M
MXET]79&[KJO$YR^BD'E(IOD]#DY/=_`9%H\=IX)R-9`JC5Q&]?\!;%&=(R(P
"```]
`
end


Gerard.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.036 / U:3.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site