From owner-freebsd-ports Tue Mar 16 16:50:21 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 03FA51522E for ; Tue, 16 Mar 1999 16:50:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id QAA38963; Tue, 16 Mar 1999 16:50:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from voyager.fisicc-ufm.edu (unknown [209.198.197.202]) by hub.freebsd.org (Postfix) with ESMTP id 4008F14E7A for ; Tue, 16 Mar 1999 16:48:03 -0800 (PST) (envelope-from obonilla@voyager.fisicc-ufm.edu) Received: (from obonilla@localhost) by voyager.fisicc-ufm.edu (8.9.2/8.9.2) id SAA23510; Tue, 16 Mar 1999 18:52:08 -0600 (CST) (envelope-from obonilla) Message-Id: <199903170052.SAA23510@voyager.fisicc-ufm.edu> Date: Tue, 16 Mar 1999 18:52:08 -0600 (CST) From: Oscar Bonilla Reply-To: obonilla@fisicc-ufm.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/10630: patche for sane port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10630 >Category: ports >Synopsis: sane uses a buffer that is too big for the cam interface >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 16 16:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Oscar Bonilla >Release: FreeBSD 3.1-STABLE i386 >Organization: Universidad Francisco Marroquin >Environment: >Description: the sane port uses MAXPHYS for its MAX_DATA when it should use (DFLTPHYS - PAGE_SIZE). this breaks sane on some systems. >How-To-Repeat: >Fix: add this patch to the patches subdir of the port *** sanei/sanei_scsi.c.orig Tue Mar 16 18:10:54 1999 --- sanei/sanei_scsi.c Tue Mar 16 18:11:17 1999 *************** *** 186,192 **** #endif #if USE == FREEBSD_CAM_INTERFACE ! # define MAX_DATA MAXPHYS #endif #ifndef MAX_DATA --- 186,192 ---- #endif #if USE == FREEBSD_CAM_INTERFACE ! # define MAX_DATA (DFLTPHYS - PAGE_SIZE) #endif #ifndef MAX_DATA >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message