From owner-p4-projects@FreeBSD.ORG Mon Apr 23 01:00:47 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EB42E16A407; Mon, 23 Apr 2007 01:00:46 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9C8716A401 for ; Mon, 23 Apr 2007 01:00:46 +0000 (UTC) (envelope-from scottl@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AA4DD13C457 for ; Mon, 23 Apr 2007 01:00:46 +0000 (UTC) (envelope-from scottl@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3N10kPA078921 for ; Mon, 23 Apr 2007 01:00:46 GMT (envelope-from scottl@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3N10k8F078918 for perforce@freebsd.org; Mon, 23 Apr 2007 01:00:46 GMT (envelope-from scottl@freebsd.org) Date: Mon, 23 Apr 2007 01:00:46 GMT Message-Id: <200704230100.l3N10k8F078918@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to scottl@freebsd.org using -f From: Scott Long To: Perforce Change Reviews Cc: Subject: PERFORCE change 118625 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 01:00:47 -0000 http://perforce.freebsd.org/chv.cgi?CH=118625 Change 118625 by scottl@scottl-x64 on 2007/04/23 01:00:17 Remmove some unused fields from the cam_ed and cam_et structures. Affected files ... .. //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#61 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#61 (text+ko) ==== @@ -131,7 +131,6 @@ struct async_list asyncs; /* Async callback info for this B/T/L */ struct periph_list periphs; /* All attached devices */ u_int generation; /* Generation number */ - struct cam_periph *owner; /* Peripheral driver's ownership tag */ struct xpt_quirk_entry *quirk; /* Oddities about this device */ /* Storage for the inquiry data */ cam_proto protocol; @@ -193,8 +192,6 @@ path_id_t path_id; struct cam_sim *sim; struct timeval last_reset; - u_int32_t flags; -#define CAM_EB_RUNQ_SCHEDULED 0x01 u_int32_t refcount; u_int generation; }; @@ -4346,7 +4343,6 @@ new_bus->path_id = sim->path_id; new_bus->sim = sim; timevalclear(&new_bus->last_reset); - new_bus->flags = 0; new_bus->refcount = 1; /* Held until a bus_deregister event */ new_bus->generation = 0; mtx_lock(&xsoftc.xpt_topo_lock); @@ -5028,7 +5024,6 @@ SLIST_INIT(&device->asyncs); SLIST_INIT(&device->periphs); device->generation = 0; - device->owner = NULL; /* * Take the default quirk entry until we have inquiry * data and can determine a better quirk to use.