Date: Thu, 28 Jun 2007 22:41:58 GMT From: Brian Chu <chub@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 122504 for review Message-ID: <200706282241.l5SMfwwo091774@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122504 Change 122504 by chub@chub-msdosfs on 2007/06/28 22:41:08 Pulling vendor tree into msdosfs branch. Affected files ... .. //depot/projects/soc2007/chub-msdosfs/boot/forth/loader.conf#2 integrate .. //depot/projects/soc2007/chub-msdosfs/cam/scsi/scsi_da.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/conf/NOTES#2 integrate .. //depot/projects/soc2007/chub-msdosfs/conf/files#2 integrate .. //depot/projects/soc2007/chub-msdosfs/conf/files.sparc64#2 integrate .. //depot/projects/soc2007/chub-msdosfs/conf/files.sun4v#2 integrate .. //depot/projects/soc2007/chub-msdosfs/conf/options#2 integrate .. //depot/projects/soc2007/chub-msdosfs/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/acpica/acpi.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/acpica/acpiio.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/acpica/acpivar.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-all.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-chipset.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-disk.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-pci.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-usb.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/ath/if_ath.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/if_ndis/if_ndis_usb.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/isp/isp.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/isp/isp_pci.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/iwi/if_iwi.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/mpt/mpt_cam.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/rp/rp.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/sound/pci/hda/hdac.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/sound/pcm/sound.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/sound/usb/uaudio.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/sym/sym_hipd.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/syscons/scgfbrndr.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ehci.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ehci_pci.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/hid.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/if_aue.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/if_axe.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/if_cdce.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/if_cue.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/if_kue.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/if_rue.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/if_rum.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/if_udav.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/if_ural.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ohci.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ohci_pci.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/sl811hs.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/slhci_pccard.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uark.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ubsa.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ubser.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ucom.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ucycom.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/udbp.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ufm.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ufoma.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uftdi.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ugen.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uhci_pci.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uhid.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uhub.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uipaq.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ukbd.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ulpt.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/umass.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/umct.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/umodem.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/ums.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uplcom.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/urio.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usb.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usb.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usb_mem.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usb_port.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usb_quirks.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usb_quirks.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usb_subr.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usbdevs#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usbdi.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/usbdi_util.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uscanner.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uvisor.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/dev/usb/uvscom.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/tmpfs/tmpfs.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/tmpfs/tmpfs_fifoops.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/tmpfs/tmpfs_fifoops.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/tmpfs/tmpfs_subr.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/tmpfs/tmpfs_uma.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/tmpfs/tmpfs_uma.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/tmpfs/tmpfs_vfsops.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/tmpfs/tmpfs_vnops.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/tmpfs/tmpfs_vnops.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/fs/umapfs/umap.h#2 delete .. //depot/projects/soc2007/chub-msdosfs/fs/umapfs/umap_subr.c#2 delete .. //depot/projects/soc2007/chub-msdosfs/fs/umapfs/umap_vfsops.c#2 delete .. //depot/projects/soc2007/chub-msdosfs/fs/umapfs/umap_vnops.c#2 delete .. //depot/projects/soc2007/chub-msdosfs/geom/part/g_part.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/geom/part/g_part.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/geom/part/g_part_mbr.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/i386/acpica/acpi_machdep.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/kern/Make.tags.inc#2 integrate .. //depot/projects/soc2007/chub-msdosfs/kern/Makefile#2 integrate .. //depot/projects/soc2007/chub-msdosfs/kern/kern_conf.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/kern/kern_malloc.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/kern/kern_rwlock.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/kern/kern_timeout.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/kern/subr_unit.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/kern/vfs_cache.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/modules/acpi/acpi_video/Makefile#2 integrate .. //depot/projects/soc2007/chub-msdosfs/modules/i2c/controllers/alpm/Makefile#2 integrate .. //depot/projects/soc2007/chub-msdosfs/modules/i2c/controllers/viapm/Makefile#2 integrate .. //depot/projects/soc2007/chub-msdosfs/modules/slhci/Makefile#2 integrate .. //depot/projects/soc2007/chub-msdosfs/modules/umapfs/Makefile#2 delete .. //depot/projects/soc2007/chub-msdosfs/net/bpf.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/net/bridgestp.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/net/if_gre.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/net80211/ieee80211_freebsd.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatalk/aarp.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatalk/ddp.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatm/atm_cm.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatm/ipatm/ipatm_event.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatm/spans/spans_proto.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatm/uni/sscf_uni_lower.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatm/uni/uniarp.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatm/uni/uniarp_timer.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatm/uni/unisig_decode.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netatm/uni/unisig_proto.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netgraph/bluetooth/drivers/ubt/ng_ubt.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netgraph/ng_parse.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/ip_fw2.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_asconf.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_bsd_addr.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_indata.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_indata.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_input.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_output.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_pcb.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_timer.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_uio.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctp_usrreq.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/netinet/sctputil.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/powerpc/powerpc/busdma_machdep.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/audit/audit.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/audit/audit_arg.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/audit/audit_bsm.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/audit/audit_bsm_token.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/audit/audit_syscalls.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/mac/mac_audit.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/mac/mac_framework.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/mac/mac_policy.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/mac_stub/mac_stub.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/security/mac_test/mac_test.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/sparc64/pci/ofw_pci.c#2 delete .. //depot/projects/soc2007/chub-msdosfs/sparc64/pci/ofw_pci.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/sparc64/pci/ofw_pci_if.m#2 integrate .. //depot/projects/soc2007/chub-msdosfs/sparc64/pci/ofw_pcib.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/sparc64/pci/ofw_pcib_subr.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/sparc64/pci/psycho.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/sys/_rwlock.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/sys/priv.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/sys/rwlock.h#2 integrate .. //depot/projects/soc2007/chub-msdosfs/ufs/ffs/ffs_softdep.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/ufs/ufs/ufs_inode.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/vm/swap_pager.c#2 integrate .. //depot/projects/soc2007/chub-msdosfs/vm/vm_pageout.c#2 integrate Differences ... ==== //depot/projects/soc2007/chub-msdosfs/boot/forth/loader.conf#2 (text+ko) ==== @@ -6,7 +6,7 @@ # # All arguments must be in double quotes. # -# $FreeBSD: src/sys/boot/forth/loader.conf,v 1.120 2007/04/09 22:09:09 pjd Exp $ +# $FreeBSD: src/sys/boot/forth/loader.conf,v 1.121 2007/06/25 05:06:55 rafan Exp $ ############################################################## ### Basic configuration options ############################ @@ -135,7 +135,6 @@ portalfs_load="NO" # Portal filesystem procfs_load="NO" # Process filesystem reiserfs_load="NO" # ReiserFS -#umapfs_load="NO" # User-id map filesystem unionfs_load="NO" # Union filesystem xfs_load="NO" # XFS zfs_load="NO" # ZFS ==== //depot/projects/soc2007/chub-msdosfs/cam/scsi/scsi_da.c#2 (text+ko) ==== @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/cam/scsi/scsi_da.c,v 1.215 2007/06/16 18:22:19 scottl Exp $"); +__FBSDID("$FreeBSD: src/sys/cam/scsi/scsi_da.c,v 1.217 2007/06/28 06:12:55 imp Exp $"); #include <sys/param.h> @@ -457,6 +457,14 @@ }, { /* + * iRiver U10 MP3 player + * PR: usb/92306 + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "iriver", "U10*", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + }, + { + /* * X-Micro Flash Disk * PR: usb/96901 */ @@ -471,6 +479,14 @@ {T_DIRECT, SIP_MEDIA_REMOVABLE, "EM732X", "MP3 Player*", "1.0"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, + { + /* + * Denver MP3 player + * PR: usb/107101 + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "DENVER", "MP3 PLAYER", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + }, }; static disk_strategy_t dastrategy; ==== //depot/projects/soc2007/chub-msdosfs/conf/NOTES#2 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/sys/conf/NOTES,v 1.1434 2007/06/16 04:57:03 alc Exp $ +# $FreeBSD: src/sys/conf/NOTES,v 1.1437 2007/06/27 02:34:22 rafan Exp $ # # NOTES -- Lines that can be cut/pasted into kernel and hints configs. # @@ -938,10 +938,12 @@ # currently be demand-loaded.) Some people still prefer to statically # compile other filesystems as well. # -# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be -# buggy, and WILL panic your system if you attempt to do anything with -# them. They are included here as an incentive for some enterprising -# soul to sit down and fix them. +# NB: The PORTAL filesystem is known to be buggy, and WILL panic your +# system if you attempt to do anything with it. It is included here +# as an incentive for some enterprising soul to sit down and fix it. +# The UNION filesystem was known to be buggy in the past. It is now +# being actively maintained, although there are still some issues being +# resolved. # # One of these is mandatory: @@ -964,8 +966,6 @@ options PSEUDOFS_TRACE #Debugging support for PSEUDOFS options SMBFS #SMB/CIFS filesystem options UDF #Universal Disk Format -# Broken (seriously (functionally) broken): -#options UMAPFS #UID map filesystem options UNIONFS #Union filesystem # The xFS_ROOT options REQUIRE the associated ``options xFS'' options NFS_ROOT #NFS usable as root device ==== //depot/projects/soc2007/chub-msdosfs/conf/files#2 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/sys/conf/files,v 1.1222 2007/06/16 04:57:04 alc Exp $ +# $FreeBSD: src/sys/conf/files,v 1.1223 2007/06/25 05:06:55 rafan Exp $ # # The long compile-with and dependency lines are required because of # limitations in config: backslash-newline doesn't work in strings, and @@ -1199,9 +1199,6 @@ fs/udf/udf_iconv.c optional udf_iconv fs/udf/udf_vfsops.c optional udf fs/udf/udf_vnops.c optional udf -fs/umapfs/umap_subr.c optional umapfs -fs/umapfs/umap_vfsops.c optional umapfs -fs/umapfs/umap_vnops.c optional umapfs fs/unionfs/union_subr.c optional unionfs fs/unionfs/union_vfsops.c optional unionfs fs/unionfs/union_vnops.c optional unionfs ==== //depot/projects/soc2007/chub-msdosfs/conf/files.sparc64#2 (text+ko) ==== @@ -1,7 +1,7 @@ # This file tells config what files go into building a kernel, # files marked standard are always included. # -# $FreeBSD: src/sys/conf/files.sparc64,v 1.90 2007/06/16 21:48:48 marius Exp $ +# $FreeBSD: src/sys/conf/files.sparc64,v 1.91 2007/06/18 21:49:42 marius Exp $ # # The long compile-with and dependency lines are required because of # limitations in config: backslash-newline doesn't work in strings, and @@ -81,7 +81,6 @@ sparc64/isa/isa_dma.c optional isa sparc64/isa/ofw_isa.c optional ebus | isa sparc64/pci/apb.c optional pci -sparc64/pci/ofw_pci.c optional pci sparc64/pci/ofw_pcib.c optional pci sparc64/pci/ofw_pcib_subr.c optional pci sparc64/pci/ofw_pcibus.c optional pci ==== //depot/projects/soc2007/chub-msdosfs/conf/files.sun4v#2 (text+ko) ==== @@ -1,7 +1,7 @@ # This file tells config what files go into building a kernel, # files marked standard are always included. # -# $FreeBSD: src/sys/conf/files.sun4v,v 1.9 2007/06/11 00:38:06 marcel Exp $ +# $FreeBSD: src/sys/conf/files.sun4v,v 1.10 2007/06/18 21:49:42 marius Exp $ # # The long compile-with and dependency lines are required because of # limitations in config: backslash-newline doesn't work in strings, and @@ -47,7 +47,6 @@ sparc64/sparc64/gdb_machdep.c optional gdb sun4v/sun4v/hv_pci.c optional pci sun4v/sun4v/trap_trace.S optional trap_tracing -sparc64/pci/ofw_pci.c optional pci sparc64/pci/ofw_pcib.c optional pci sparc64/pci/ofw_pcib_subr.c optional pci sparc64/pci/ofw_pcibus.c optional pci ==== //depot/projects/soc2007/chub-msdosfs/conf/options#2 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/sys/conf/options,v 1.596 2007/06/16 04:57:04 alc Exp $ +# $FreeBSD: src/sys/conf/options,v 1.597 2007/06/25 05:06:55 rafan Exp $ # # On the handling of kernel options # @@ -198,7 +198,6 @@ SMBFS opt_dontuse.h TMPFS opt_dontuse.h UDF opt_dontuse.h -UMAPFS opt_dontuse.h UNIONFS opt_dontuse.h # Pseudofs debugging ==== //depot/projects/soc2007/chub-msdosfs/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c#2 (text+ko) ==== @@ -766,7 +766,7 @@ vn_lock(*vpp, flags, curthread); } ZFS_EXIT(zfsvfs); - return (0); + return (err); } static int ==== //depot/projects/soc2007/chub-msdosfs/dev/acpica/acpi.c#2 (text+ko) ==== @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/dev/acpica/acpi.c,v 1.239 2007/06/15 18:02:33 njl Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/acpica/acpi.c,v 1.240 2007/06/21 22:50:37 njl Exp $"); #include "opt_acpi.h" #include <sys/param.h> @@ -136,6 +136,7 @@ static ACPI_STATUS acpi_probe_child(ACPI_HANDLE handle, UINT32 level, void *context, void **status); static BOOLEAN acpi_MatchHid(ACPI_HANDLE h, const char *hid); +static ACPI_STATUS acpi_EnterSleepState(struct acpi_softc *sc, int state); static void acpi_shutdown_final(void *arg, int howto); static void acpi_enable_fixed_events(struct acpi_softc *sc); static int acpi_wake_sleep_prep(ACPI_HANDLE handle, int sstate); @@ -410,6 +411,7 @@ sc = device_get_softc(dev); sc->acpi_dev = dev; + callout_init(&sc->susp_force_to, TRUE); error = ENXIO; @@ -592,7 +594,7 @@ /* Pick the first valid sleep state for the sleep button default. */ sc->acpi_sleep_button_sx = ACPI_S_STATES_MAX + 1; - for (state = ACPI_STATE_S1; state < ACPI_STATE_S5; state++) + for (state = ACPI_STATE_S1; state <= ACPI_STATE_S4; state++) if (ACPI_SUCCESS(AcpiGetSleepTypeData(state, &TypeA, &TypeB))) { sc->acpi_sleep_button_sx = state; break; @@ -2118,7 +2120,151 @@ return (acpi_SetInteger(ACPI_ROOT_OBJECT, "_PIC", model)); } +/* + * DEPRECATED. This interface has serious deficiencies and will be + * removed. + * + * Immediately enter the sleep state. In the old model, acpiconf(8) ran + * rc.suspend and rc.resume so we don't have to notify devd(8) to do this. + */ +ACPI_STATUS +acpi_SetSleepState(struct acpi_softc *sc, int state) +{ + static int once; + + if (!once) { + printf( +"warning: acpi_SetSleepState() deprecated, need to update your software\n"); + once = 1; + } + return (acpi_EnterSleepState(sc, state)); +} + static void +acpi_sleep_force(void *arg) +{ + struct acpi_softc *sc; + + printf("acpi: suspend request timed out, forcing sleep now\n"); + sc = arg; + if (ACPI_FAILURE(acpi_EnterSleepState(sc, sc->acpi_next_sstate))) + printf("acpi: force sleep state S%d failed\n", sc->acpi_next_sstate); +} + +/* + * Request that the system enter the given suspend state. All /dev/apm + * devices and devd(8) will be notified. Userland then has a chance to + * save state and acknowledge the request. The system sleeps once all + * acks are in. + */ +int +acpi_ReqSleepState(struct acpi_softc *sc, int state) +{ + struct apm_clone_data *clone; + + if (state < ACPI_STATE_S1 || state > ACPI_STATE_S5) + return (EINVAL); + + /* S5 (soft-off) should be entered directly with no waiting. */ + if (state == ACPI_STATE_S5) { + if (ACPI_SUCCESS(acpi_EnterSleepState(sc, state))) + return (0); + else + return (ENXIO); + } + + /* If a suspend request is already in progress, just return. */ + ACPI_LOCK(acpi); + if (sc->acpi_next_sstate != 0) { + ACPI_UNLOCK(acpi); + return (0); + } + + /* Record the pending state and notify all apm devices. */ + sc->acpi_next_sstate = state; + STAILQ_FOREACH(clone, &sc->apm_cdevs, entries) { + clone->notify_status = APM_EV_NONE; + if ((clone->flags & ACPI_EVF_DEVD) == 0) { + selwakeuppri(&clone->sel_read, PZERO); + KNOTE_UNLOCKED(&clone->sel_read.si_note, 0); + } + } + + /* Now notify devd(8) also. */ + acpi_UserNotify("Suspend", ACPI_ROOT_OBJECT, state); + + /* + * Set a timeout to fire if userland doesn't ack the suspend request + * in time. This way we still eventually go to sleep if we were + * overheating or running low on battery, even if userland is hung. + * We cancel this timeout once all userland acks are in or the + * suspend request is aborted. + */ + callout_reset(&sc->susp_force_to, 10 * hz, acpi_sleep_force, sc); + ACPI_UNLOCK(acpi); + return (0); +} + +/* + * Acknowledge (or reject) a pending sleep state. The caller has + * prepared for suspend and is now ready for it to proceed. If the + * error argument is non-zero, it indicates suspend should be cancelled + * and gives an errno value describing why. Once all votes are in, + * we suspend the system. + */ +int +acpi_AckSleepState(struct apm_clone_data *clone, int error) +{ + struct acpi_softc *sc; + int ret, sleeping; + + /* If no pending sleep state, return an error. */ + ACPI_LOCK(acpi); + sc = clone->acpi_sc; + if (sc->acpi_next_sstate == 0) { + ACPI_UNLOCK(acpi); + return (ENXIO); + } + + /* Caller wants to abort suspend process. */ + if (error) { + sc->acpi_next_sstate = 0; + callout_stop(&sc->susp_force_to); + printf("acpi: listener on %s cancelled the pending suspend\n", + devtoname(clone->cdev)); + ACPI_UNLOCK(acpi); + return (0); + } + + /* + * Mark this device as acking the suspend request. Then, walk through + * all devices, seeing if they agree yet. We only count devices that + * are writable since read-only devices couldn't ack the request. + */ + clone->notify_status = APM_EV_ACKED; + sleeping = TRUE; + STAILQ_FOREACH(clone, &sc->apm_cdevs, entries) { + if ((clone->flags & ACPI_EVF_WRITE) != 0 && + clone->notify_status != APM_EV_ACKED) { + sleeping = FALSE; + break; + } + } + + /* If all devices have voted "yes", we will suspend now. */ + if (sleeping) + callout_stop(&sc->susp_force_to); + ACPI_UNLOCK(acpi); + ret = 0; + if (sleeping) { + if (ACPI_FAILURE(acpi_EnterSleepState(sc, sc->acpi_next_sstate))) + ret = ENODEV; + } + + return (ret); +} + +static void acpi_sleep_enable(void *arg) { @@ -2134,12 +2280,12 @@ }; /* - * Set the system sleep state + * Enter the desired system sleep state. * * Currently we support S1-S5 but S4 is only S4BIOS */ -ACPI_STATUS -acpi_SetSleepState(struct acpi_softc *sc, int state) +static ACPI_STATUS +acpi_EnterSleepState(struct acpi_softc *sc, int state) { ACPI_STATUS status; UINT8 TypeA; @@ -2148,14 +2294,13 @@ ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, state); + /* Re-entry once we're suspending is not allowed. */ status = AE_OK; ACPI_LOCK(acpi); if (sc->acpi_sleep_disabled) { - if (sc->acpi_sstate != ACPI_STATE_S0) - status = AE_ERROR; ACPI_UNLOCK(acpi); printf("acpi: suspend request ignored (not ready yet)\n"); - return (status); + return (AE_ERROR); } sc->acpi_sleep_disabled = 1; ACPI_UNLOCK(acpi); @@ -2251,6 +2396,7 @@ * Back out state according to how far along we got in the suspend * process. This handles both the error and success cases. */ + sc->acpi_next_sstate = 0; if (slp_state >= ACPI_SS_GPE_SET) { acpi_wake_prep_walk(state); sc->acpi_sstate = ACPI_STATE_S0; @@ -2264,7 +2410,10 @@ /* Allow another sleep request after a while. */ if (state != ACPI_STATE_S5) - timeout(acpi_sleep_enable, (caddr_t)sc, hz * ACPI_MINIMUM_AWAKETIME); + timeout(acpi_sleep_enable, sc, hz * ACPI_MINIMUM_AWAKETIME); + + /* Run /etc/rc.resume after we are back. */ + acpi_UserNotify("Resume", ACPI_ROOT_OBJECT, state); mtx_unlock(&Giant); return_ACPI_STATUS (status); @@ -2574,11 +2723,15 @@ static void acpi_system_eventhandler_sleep(void *arg, int state) { + int ret; ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, state); - if (state >= ACPI_STATE_S0 && state <= ACPI_S_STATES_MAX) - acpi_SetSleepState((struct acpi_softc *)arg, state); + /* Request that the system prepare to enter the given suspend state. */ + ret = acpi_ReqSleepState((struct acpi_softc *)arg, state); + if (ret != 0) + printf("acpi: request to enter state S%d failed (err %d)\n", + state, ret); return_VOID; } @@ -2840,7 +2993,20 @@ /* Core system ioctls. */ switch (cmd) { - case ACPIIO_SETSLPSTATE: + case ACPIIO_REQSLPSTATE: + state = *(int *)addr; + if (state != ACPI_STATE_S5) + error = acpi_ReqSleepState(sc, state); + else { + printf("power off via acpi ioctl not supported\n"); + error = ENXIO; + } + break; + case ACPIIO_ACKSLPSTATE: + error = *(int *)addr; + error = acpi_AckSleepState(sc->acpi_clone, error); + break; + case ACPIIO_SETSLPSTATE: /* DEPRECATED */ error = EINVAL; state = *(int *)addr; if (state >= ACPI_STATE_S0 && state <= ACPI_S_STATES_MAX) @@ -3171,7 +3337,8 @@ goto out; } - acpi_SetSleepState(sc, acpi_state); + if (ACPI_FAILURE(acpi_EnterSleepState(sc, acpi_state))) + error = ENXIO; break; default: error = EINVAL; ==== //depot/projects/soc2007/chub-msdosfs/dev/acpica/acpiio.h#2 (text+ko) ==== @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/dev/acpica/acpiio.h,v 1.16 2005/10/23 00:16:41 njl Exp $ + * $FreeBSD: src/sys/dev/acpica/acpiio.h,v 1.17 2007/06/21 22:50:37 njl Exp $ */ #ifndef _ACPIIO_H_ @@ -33,7 +33,13 @@ /* * Core ACPI subsystem ioctls */ -#define ACPIIO_SETSLPSTATE _IOW('P', 3, int) +#define ACPIIO_SETSLPSTATE _IOW('P', 3, int) /* DEPRECATED */ + +/* Request S1-5 sleep state. User is notified and then sleep proceeds. */ +#define ACPIIO_REQSLPSTATE _IOW('P', 4, int) + +/* Allow suspend to continue (0) or abort it (errno). */ +#define ACPIIO_ACKSLPSTATE _IOW('P', 5, int) struct acpi_battinfo { int cap; /* percent */ ==== //depot/projects/soc2007/chub-msdosfs/dev/acpica/acpivar.h#2 (text+ko) ==== @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/dev/acpica/acpivar.h,v 1.106 2007/06/15 18:02:34 njl Exp $ + * $FreeBSD: src/sys/dev/acpica/acpivar.h,v 1.107 2007/06/21 22:50:37 njl Exp $ */ #ifndef _ACPIVAR_H_ @@ -39,12 +39,14 @@ #include <sys/ktr.h> #include <sys/lock.h> #include <sys/mutex.h> +#include <sys/selinfo.h> #include <sys/sx.h> #include <sys/sysctl.h> #include <machine/bus.h> #include <machine/resource.h> +struct apm_clone_data; struct acpi_softc { device_t acpi_dev; struct cdev *acpi_dev_t; @@ -76,6 +78,11 @@ bus_dmamap_t acpi_wakemap; vm_offset_t acpi_wakeaddr; vm_paddr_t acpi_wakephys; + + int acpi_next_sstate; /* Next suspend Sx state. */ + struct apm_clone_data *acpi_clone; /* Pseudo-dev for devd(8). */ + STAILQ_HEAD(,apm_clone_data) apm_cdevs; /* All apm/apmctl/acpi cdevs. */ + struct callout susp_force_to; /* Force suspend if no acks. */ }; struct acpi_device { @@ -89,6 +96,22 @@ struct resource_list ad_rl; }; +/* Track device (/dev/{apm,apmctl} and /dev/acpi) notification status. */ +struct apm_clone_data { + STAILQ_ENTRY(apm_clone_data) entries; + struct cdev *cdev; + int flags; +#define ACPI_EVF_NONE 0 /* /dev/apm semantics */ +#define ACPI_EVF_DEVD 1 /* /dev/acpi is handled via devd(8) */ +#define ACPI_EVF_WRITE 2 /* Device instance is opened writable. */ + int notify_status; +#define APM_EV_NONE 0 /* Device not yet aware of pending sleep. */ +#define APM_EV_NOTIFIED 1 /* Device saw next sleep state. */ +#define APM_EV_ACKED 2 /* Device agreed sleep can occur. */ + struct acpi_softc *acpi_sc; + struct selinfo sel_read; +}; + #define ACPI_PRW_MAX_POWERRES 8 struct acpi_prw_data { @@ -304,6 +327,8 @@ ACPI_RESOURCE *res); ACPI_STATUS acpi_OverrideInterruptLevel(UINT32 InterruptNumber); ACPI_STATUS acpi_SetIntrModel(int model); +int acpi_ReqSleepState(struct acpi_softc *sc, int state); +int acpi_AckSleepState(struct apm_clone_data *clone, int error); ACPI_STATUS acpi_SetSleepState(struct acpi_softc *sc, int state); int acpi_wake_init(device_t dev, int type); int acpi_wake_set_enable(device_t dev, int enable); ==== //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-all.h#2 (text+ko) ==== @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: src/sys/dev/ata/ata-all.h,v 1.123 2007/04/08 19:18:51 sos Exp $ + * $FreeBSD: src/sys/dev/ata/ata-all.h,v 1.124 2007/06/26 22:13:43 remko Exp $ */ /* ATA register defines */ @@ -294,6 +294,7 @@ #define ATA_DEV(device) ((device == ATA_MASTER) ? 0 : 1) #define ATA_CFA_MAGIC1 0x844A #define ATA_CFA_MAGIC2 0x848A +#define ATA_CFA_MAGIC3 0x8400 #define ATAPI_MAGIC_LSB 0x14 #define ATAPI_MAGIC_MSB 0xeb #define ATAPI_P_READ (ATA_S_DRQ | ATA_I_IN) ==== //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-chipset.c#2 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/dev/ata/ata-chipset.c,v 1.197 2007/06/13 17:44:49 bms Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/ata/ata-chipset.c,v 1.198 2007/06/25 08:21:21 sos Exp $"); #include "opt_ata.h" #include <sys/param.h> @@ -2890,6 +2890,10 @@ { ATA_NFORCE_MCP55, 0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nForce MCP55" }, { ATA_NFORCE_MCP55_S1, 0, 0, NV4|NVQ, ATA_SA300, "nForce MCP55" }, { ATA_NFORCE_MCP55_S2, 0, 0, NV4|NVQ, ATA_SA300, "nForce MCP55" }, + { ATA_NFORCE_MCP61, 0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nForce MCP61" }, + { ATA_NFORCE_MCP61_S1, 0, 0, NV4|NVQ, ATA_SA300, "nForce MCP61" }, + { ATA_NFORCE_MCP61_S2, 0, 0, NV4|NVQ, ATA_SA300, "nForce MCP61" }, + { ATA_NFORCE_MCP61_S3, 0, 0, NV4|NVQ, ATA_SA300, "nForce MCP61" }, { 0, 0, 0, 0, 0, 0}} ; char buffer[64] ; ==== //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-disk.c#2 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/dev/ata/ata-disk.c,v 1.203 2007/05/06 01:20:06 pjd Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/ata/ata-disk.c,v 1.204 2007/06/26 22:13:43 remko Exp $"); #include "opt_ata.h" #include <sys/param.h> @@ -80,7 +80,8 @@ if (!(atadev->param.config & ATA_PROTO_ATAPI) || (atadev->param.config == ATA_CFA_MAGIC1) || - (atadev->param.config == ATA_CFA_MAGIC2)) + (atadev->param.config == ATA_CFA_MAGIC2) || + (atadev->param.config == ATA_CFA_MAGIC3)) return 0; else return ENXIO; ==== //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-pci.h#2 (text+ko) ==== @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: src/sys/dev/ata/ata-pci.h,v 1.76 2007/03/09 22:23:39 sos Exp $ + * $FreeBSD: src/sys/dev/ata/ata-pci.h,v 1.77 2007/06/25 08:21:21 sos Exp $ */ /* structure holding chipset config info */ @@ -222,6 +222,10 @@ #define ATA_NFORCE_MCP55 0x036e10de #define ATA_NFORCE_MCP55_S1 0x037e10de #define ATA_NFORCE_MCP55_S2 0x037f10de +#define ATA_NFORCE_MCP61 0x03ec10de +#define ATA_NFORCE_MCP61_S1 0x03e710de +#define ATA_NFORCE_MCP61_S2 0x03f610de +#define ATA_NFORCE_MCP61_S3 0x03f710de #define ATA_PROMISE_ID 0x105a #define ATA_PDC20246 0x4d33105a ==== //depot/projects/soc2007/chub-msdosfs/dev/ata/ata-usb.c#2 (text) ==== @@ -25,7 +25,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/dev/ata/ata-usb.c,v 1.6 2007/02/21 19:07:18 sos Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/ata/ata-usb.c,v 1.7 2007/06/23 21:52:05 imp Exp $"); #include "opt_ata.h" #include <sys/param.h> @@ -45,6 +45,7 @@ #include <machine/resource.h> #include <machine/bus.h> #include <sys/rman.h> +#include <dev/usb/usb_port.h> #include <dev/usb/usb.h> #include <dev/usb/usbdi.h> #include <dev/usb/usbdi_util.h> ==== //depot/projects/soc2007/chub-msdosfs/dev/ath/if_ath.c#2 (text+ko) ==== @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.171 2007/06/11 03:36:49 sam Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.172 2007/06/24 01:57:20 sam Exp $"); /* * Driver for the Atheros Wireless LAN controller. @@ -4798,8 +4798,10 @@ bf->bf_node = NULL; if (ni != NULL) { /* - * Reclaim node reference. + * Do any callback and reclaim the node reference. */ + if (bf->bf_m->m_flags & M_TXCB) + ieee80211_process_callback(ni, bf->bf_m, -1); ieee80211_free_node(ni); } m_freem(bf->bf_m); ==== //depot/projects/soc2007/chub-msdosfs/dev/if_ndis/if_ndis_usb.c#2 (text+ko) ==== @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/dev/if_ndis/if_ndis_usb.c,v 1.8 2007/06/12 15:37:19 imp Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/if_ndis/if_ndis_usb.c,v 1.9 2007/06/18 22:24:32 imp Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -69,10 +69,9 @@ MODULE_DEPEND(ndis, usb, 1, 1, 1); -static int ndisusb_match (device_t); -static int ndisusb_attach (device_t); -static struct resource_list *ndis_get_resource_list - (device_t, device_t); +static device_probe_t ndisusb_match; +static device_attach_t ndisusb_attach; +static bus_get_resource_list_t ndis_get_resource_list; extern int ndisdrv_modevent (module_t, int, void *); extern int ndis_attach (device_t); @@ -108,22 +107,25 @@ DRIVER_MODULE(ndis, uhub, ndis_driver, ndis_devclass, ndisdrv_modevent, 0); -USB_MATCH(ndisusb) +static int +ndisusb_match(device_t self) { - USB_MATCH_START(ndisusb, uaa); + struct usb_attach_arg *uaa = device_get_ivars(self); if (windrv_lookup(0, "USB Bus") == NULL) - return(UMATCH_NONE); + return (UMATCH_NONE); if (uaa->iface != NULL) - return(UMATCH_NONE); + return (UMATCH_NONE); - return(UMATCH_NONE); + return (UMATCH_NONE); } -USB_ATTACH(ndisusb) +static int +ndisusb_attach(device_t self) { - USB_ATTACH_START(ndisusb, dummy, uaa); + struct ndisusb_softc *dummy = device_get_softc(self); + struct usb_attach_arg *uaa = device_get_ivars(self); struct ndis_softc *sc; driver_object *drv; @@ -146,9 +148,7 @@ } static struct resource_list * -ndis_get_resource_list(dev, child) - device_t dev; - device_t child; +ndis_get_resource_list(device_t dev, device_t child) { struct ndis_softc *sc; ==== //depot/projects/soc2007/chub-msdosfs/dev/isp/isp.c#2 (text+ko) ==== @@ -46,7 +46,7 @@ #endif #ifdef __FreeBSD__ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/dev/isp/isp.c,v 1.146 2007/05/05 20:17:22 mjacob Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/isp/isp.c,v 1.147 2007/06/24 01:41:16 mjacob Exp $"); #include <dev/isp/isp_freebsd.h> #endif #ifdef __OpenBSD__ @@ -812,7 +812,7 @@ } cp = isp->isp_rquest; for (i = 0; i < nw; i++) { - cp[i] = ptr[wi++]; + ISP_IOXPUT_32(isp, ptr[wi++], &cp[i]); wl--; } MEMORYBARRIER(isp, SYNC_REQUEST, @@ -875,7 +875,7 @@ } cp = isp->isp_rquest; for (i = 0; i < nw; i++) { - cp[i] = ptr[wi++]; + ISP_IOXPUT_16(isp, ptr[wi++], &cp[i]); wl--; } MEMORYBARRIER(isp, SYNC_REQUEST, ==== //depot/projects/soc2007/chub-msdosfs/dev/isp/isp_pci.c#2 (text+ko) ==== @@ -28,7 +28,7 @@ * FreeBSD Version. */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/dev/isp/isp_pci.c,v 1.145 2007/06/11 17:56:17 mjacob Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/isp/isp_pci.c,v 1.148 2007/06/26 23:08:57 mjacob Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -2847,10 +2847,22 @@ (ispextreq_t *)qep); break; case RQSTYPE_T2RQS: - isp_put_request_t2(isp, (ispreqt2_t *) rq, (ispreqt2_t *) qep); + if (FCPARAM(isp)->isp_2klogin) { + isp_put_request_t2e(isp, + (ispreqt2e_t *) rq, (ispreqt2e_t *) qep); + } else { >>> TRUNCATED FOR MAIL (1000 lines) <<<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706282241.l5SMfwwo091774>