Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2007 01:00:46 GMT
From:      Scott Long <scottl@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 118625 for review
Message-ID:  <200704230100.l3N10k8F078918@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704230100.l3N10k8F078918>