head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.36 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.34 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.32 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.30 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.28 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.26 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.24 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.22 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.20 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.18 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.16 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.14 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.12 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.10 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.8 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.1.1.0.2 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2006.02.09.17.19.39; author agc; state dead; branches; next 1.1; 1.1 date 2005.10.30.21.02.58; author agc; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.10.30.21.02.58; author agc; state Exp; branches; next ; desc @@ 1.2 log @Remove the old intel-iscsi package - it has been superceded by netbsd-iscsi. @ text @$NetBSD: patch-au,v 1.1 2005/10/30 21:02:58 agc Exp $ --- src/osd_ops.c 2005/10/27 19:19:42 1.1 +++ src/osd_ops.c 2005/10/27 19:27:44 @@@@ -45,17 +45,17 @@@@ int i = 0; for (i=0; i GroupID 0x%x\n", *GroupID); return 0; @@@@ -131,8 +131,8 @@@@ #if 0 args.length = 8; args.get_attributes_list_length = 8; - *((unsigned long*)get_list) = HTONL(0x00000001); - *((unsigned long*)(get_list+4)) = HTONL(0x2); + *((unsigned long*)get_list) = ISCSI_HTONL(0x00000001); + *((unsigned long*)(get_list+4)) = ISCSI_HTONL(0x2); mem.send_data = get_list; mem.send_len = 8; mem.send_sg = 0; #else args.get_attributes_page = 0x000000001; @@@@ -148,7 +148,7 @@@@ TRACE_ERROR("extract_attributes() failed\n"); return -1; } - *UserID = NTOHLL(*UserID); + *UserID = ISCSI_NTOHLL(*UserID); TRACE(TRACE_OSD, "osd_create(GroupID 0x%x) OK --> UserID 0x%llx\n", GroupID, *UserID); return 0; @@@@ -264,9 +264,9 @@@@ args.UserID = UserID; args.length = 10+len; args.set_attributes_list_length = 10+len; - *((uint32_t *) (list+0)) = HTONL(page); - *((uint32_t *) (list+4)) = HTONL(index); - *((uint16_t *) (list+8)) = HTONS(len); + *((uint32_t *) (list+0)) = ISCSI_HTONL(page); + *((uint32_t *) (list+4)) = ISCSI_HTONL(index); + *((uint16_t *) (list+8)) = ISCSI_HTONS(len); #if 0 sg[0].iov_base = list; sg[0].iov_len = 10; @@@@ -316,8 +316,8 @@@@ args.UserID = UserID; if (index) { args.length = 8; - *((uint32_t *)(list_out+0)) = HTONL(page); - *((uint32_t *)(list_out+4)) = HTONL(index); + *((uint32_t *)(list_out+0)) = ISCSI_HTONL(page); + *((uint32_t *)(list_out+4)) = ISCSI_HTONL(index); args.get_attributes_list_length = 8; mem.send_data = list_out; mem.send_len = 8; mem.send_sg = 0; } else { @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of Intel's reference implementation of an iSCSI target (with a userlevel iSCSI test-quality initiator). This project is Intel Lab's software reference implementation of iSCSI. It has been tested to interoperate with the Cisco initiator, and conforms to RFC 3720. There are 3 forms of the iSCSI target that are produced: ufsdisk - standard iSCSI target ufsdisk_mmap - an mmap(2)-based iSCSI target uramdisk - a ramdisk iSCSI target and a testing-quality user-level iSCSI initiator called utest, which can exercise the targets above. @ text @@