From 6d04ed343c76b38b5cd632ff0e0ba472ecade583 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sat, 3 Nov 2012 04:21:54 +0100 Subject: scsi_tools: add support for nvp reading There is a vendor specific command to read the NVP of the device, including the KAS. The trick is that the data is randomly scrambled using a so-called para_noise array of random values. There seems to be a problem when retrieving large entries (>1000 bytes typically) which causes sg_pt do behave strangely. Change-Id: Iefa6140df78ab9c7dcf7ac34cb1170979123ecd7 --- utils/nwztools/scsitools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/nwztools/scsitools/Makefile') diff --git a/utils/nwztools/scsitools/Makefile b/utils/nwztools/scsitools/Makefile index ed4bc88d0b..f51537fe76 100644 --- a/utils/nwztools/scsitools/Makefile +++ b/utils/nwztools/scsitools/Makefile @@ -10,7 +10,7 @@ all: $(BINS) %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< -scsitool: scsitool.o misc.o +scsitool: scsitool.o misc.o para_noise.o $(LD) -o $@ $^ $(LDFLAGS) clean: -- cgit v1.2.3