sbp.c (130677) | sbp.c (132432) |
---|---|
1/* 2 * Copyright (c) 2003 Hidetoshi Shimokawa 3 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 30 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 * POSSIBILITY OF SUCH DAMAGE. 33 * | 1/* 2 * Copyright (c) 2003 Hidetoshi Shimokawa 3 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 30 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 * POSSIBILITY OF SUCH DAMAGE. 33 * |
34 * $FreeBSD: head/sys/dev/firewire/sbp.c 130677 2004-06-18 08:02:49Z simokawa $ | 34 * $FreeBSD: head/sys/dev/firewire/sbp.c 132432 2004-07-20 04:49:44Z simokawa $ |
35 * 36 */ 37 38#include <sys/param.h> 39#include <sys/systm.h> 40#include <sys/module.h> 41#include <sys/bus.h> 42#include <sys/kernel.h> --- 304 unchanged lines hidden (view full) --- 347 348 pa = device_get_parent(dev); 349 if(device_get_unit(dev) != device_get_unit(pa)){ 350 return(ENXIO); 351 } 352 353 device_set_desc(dev, "SBP-2/SCSI over FireWire"); 354 | 35 * 36 */ 37 38#include <sys/param.h> 39#include <sys/systm.h> 40#include <sys/module.h> 41#include <sys/bus.h> 42#include <sys/kernel.h> --- 304 unchanged lines hidden (view full) --- 347 348 pa = device_get_parent(dev); 349 if(device_get_unit(dev) != device_get_unit(pa)){ 350 return(ENXIO); 351 } 352 353 device_set_desc(dev, "SBP-2/SCSI over FireWire"); 354 |
355#if 0 |
|
355 if (bootverbose) 356 debug = bootverbose; | 356 if (bootverbose) 357 debug = bootverbose; |
358#endif 359 |
|
357 return (0); 358} 359 360static void 361sbp_show_sdev_info(struct sbp_dev *sdev, int new) 362{ 363 struct fw_device *fwdev; 364 --- 2527 unchanged lines hidden --- | 360 return (0); 361} 362 363static void 364sbp_show_sdev_info(struct sbp_dev *sdev, int new) 365{ 366 struct fw_device *fwdev; 367 --- 2527 unchanged lines hidden --- |