Re: svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-09-17 Thread John Baldwin
On Monday, September 15, 2014 04:31:13 PM David Somayajulu wrote:
 Hi Andrey,
 When I didn't have the clean override,  make clean was not cleaning
 properly when I built a standalone loadable driver. Perhaps we can change
 clean in bxe/Makefile and bce/Makefile to dclean.

Try using 'make cleandir' instead of 'make clean'.  'make clean' does not 
clean files created by 'make depend' such as the 'machine' and 'x86' symlinks.  
There is a 'make cleandepend' that will clean up such files, but I tend to use 
'make cleandir' which does both.

-- 
John Baldwin
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


RE: svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-09-17 Thread David Somayajulu
HI John,
Thanks for the info. I will go ahead and get rid of  clean in the Makefile.
Thanks
David S.

-Original Message-
From: John Baldwin [mailto:j...@freebsd.org]
Sent: Wednesday, September 17, 2014 8:02 AM
To: David Somayajulu
Cc: Andrey V. Elsukov; David C Somayajulu; src-committ...@freebsd.org; 
svn-src-all@freebsd.org; svn-src-h...@freebsd.org
Subject: Re: svn commit: r265703 - in head: share/man/man4 sys/dev/bce 
sys/dev/bxe sys/modules/bce

On Monday, September 15, 2014 04:31:13 PM David Somayajulu wrote:
 Hi Andrey,
 When I didn't have the clean override,  make clean was not cleaning
 properly when I built a standalone loadable driver. Perhaps we can
 change clean in bxe/Makefile and bce/Makefile to dclean.

Try using 'make cleandir' instead of 'make clean'.  'make clean' does not clean 
files created by 'make depend' such as the 'machine' and 'x86' symlinks.
There is a 'make cleandepend' that will clean up such files, but I tend to use 
'make cleandir' which does both.

--
John Baldwin



This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


Re: svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-09-17 Thread Mark Johnston
On Wed, Sep 17, 2014 at 11:02:00AM -0400, John Baldwin wrote:
 On Monday, September 15, 2014 04:31:13 PM David Somayajulu wrote:
  Hi Andrey,
  When I didn't have the clean override,  make clean was not cleaning
  properly when I built a standalone loadable driver. Perhaps we can change
  clean in bxe/Makefile and bce/Makefile to dclean.
 
 Try using 'make cleandir' instead of 'make clean'.  'make clean' does not 
 clean files created by 'make depend' such as the 'machine' and 'x86' 
 symlinks.  

That seems to have changed with r269039.

 There is a 'make cleandepend' that will clean up such files, but I tend to 
 use 
 'make cleandir' which does both.

___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


RE: svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-09-15 Thread David Somayajulu
Hi Andrey,
When I didn't have the clean override,  make clean was not cleaning properly 
when I built a standalone loadable driver. Perhaps we can change clean in 
bxe/Makefile and bce/Makefile to dclean.

Thanks
David S.
-Original Message-
From: Andrey V. Elsukov [mailto:a...@freebsd.org]
Sent: Sunday, September 14, 2014 10:00 PM
To: David C Somayajulu; src-committ...@freebsd.org; svn-src-all@freebsd.org; 
svn-src-h...@freebsd.org
Subject: Re: svn commit: r265703 - in head: share/man/man4 sys/dev/bce 
sys/dev/bxe sys/modules/bce

On 08.05.2014 23:40, David C Somayajulu wrote:
 Author: davidcs
 Date: Thu May  8 19:40:37 2014
 New Revision: 265703
 URL: http://svnweb.freebsd.org/changeset/base/265703

 Modified: head/sys/modules/bce/Makefile
 ==
 --- head/sys/modules/bce/Makefile Thu May  8 19:35:29 2014
 (r265702)
 +++ head/sys/modules/bce/Makefile Thu May  8 19:40:37 2014
 (r265703)
 @@ -5,4 +5,9 @@ SRCS= opt_bce.h if_bce.c miibus_if.h mii

  #CFLAGS += -DBCE_DEBUG=0

 +clean:
 + rm -f opt_bdg.h device_if.h bus_if.h pci_if.h export_syms
 + rm -f *.o *.kld *.ko
 + rm -f @ machine x86 miibus_if.h miidevs.h opt_bce.h
 +
  .include bsd.kmod.mk

Hi,

why did you override 'clean' target?
It works well by default, but now some files don't deleted, e.g. when you build 
modules with DEBUG_FLAGS. Also the same problem with if_bxe(4) module.

--
WBR, Andrey V. Elsukov



This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


Re: svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-09-15 Thread Garrett Cooper

 On Sep 15, 2014, at 9:31, David Somayajulu david.somayaj...@qlogic.com 
 wrote:
 
 Hi Andrey,
 When I didn't have the clean override,  make clean was not cleaning 
 properly when I built a standalone loadable driver. Perhaps we can change 
 clean in bxe/Makefile and bce/Makefile to dclean.

Hi David,
Does make depend work from a clean obj tree? You added some files to your 
make clean target that aren't in SRCS.
Cheers,
-Garrett
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


RE: svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-09-15 Thread David Somayajulu
Hi Garrett,
Please see below.
Cheers
-david S.

-Original Message-
From: Garrett Cooper [mailto:yaneurab...@gmail.com]
Sent: Monday, September 15, 2014 10:22 AM
To: David Somayajulu
Cc: Andrey V. Elsukov; David C Somayajulu; src-committ...@freebsd.org; 
svn-src-all@freebsd.org; svn-src-h...@freebsd.org
Subject: Re: svn commit: r265703 - in head: share/man/man4 sys/dev/bce 
sys/dev/bxe sys/modules/bce


 On Sep 15, 2014, at 9:31, David Somayajulu david.somayaj...@qlogic.com 
 wrote:

 Hi Andrey,
 When I didn't have the clean override,  make clean was not cleaning 
 properly when I built a standalone loadable driver. Perhaps we can change 
 clean in bxe/Makefile and bce/Makefile to dclean.

Hi David,
Does make depend work from a clean obj tree? You added some files to your 
make clean target that aren't in SRCS.
Cheers,
-Garrett
[David S.] Not sure. I haven't tried it.



This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


Re: svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-09-14 Thread Andrey V. Elsukov
On 08.05.2014 23:40, David C Somayajulu wrote:
 Author: davidcs
 Date: Thu May  8 19:40:37 2014
 New Revision: 265703
 URL: http://svnweb.freebsd.org/changeset/base/265703

 Modified: head/sys/modules/bce/Makefile
 ==
 --- head/sys/modules/bce/Makefile Thu May  8 19:35:29 2014
 (r265702)
 +++ head/sys/modules/bce/Makefile Thu May  8 19:40:37 2014
 (r265703)
 @@ -5,4 +5,9 @@ SRCS= opt_bce.h if_bce.c miibus_if.h mii
  
  #CFLAGS += -DBCE_DEBUG=0
  
 +clean:
 + rm -f opt_bdg.h device_if.h bus_if.h pci_if.h export_syms
 + rm -f *.o *.kld *.ko
 + rm -f @ machine x86 miibus_if.h miidevs.h opt_bce.h
 +
  .include bsd.kmod.mk

Hi,

why did you override 'clean' target?
It works well by default, but now some files don't deleted, e.g. when
you build modules with DEBUG_FLAGS. Also the same problem with if_bxe(4)
module.

-- 
WBR, Andrey V. Elsukov
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-05-08 Thread David C Somayajulu
Author: davidcs
Date: Thu May  8 19:40:37 2014
New Revision: 265703
URL: http://svnweb.freebsd.org/changeset/base/265703

Log:
  Modify Copyright information and other strings to reflect Qlogic 
Corporation's purchase of Broadcom's NetXtreme business.
  Added clean option to Makefile
  
  Submitted by:David C Somayajulu (davi...@freebsd.org) QLogic Corporation
  MFC after:5 days

Modified:
  head/share/man/man4/bce.4
  head/share/man/man4/bxe.4
  head/sys/dev/bce/if_bce.c
  head/sys/dev/bce/if_bcefw.h
  head/sys/dev/bce/if_bcereg.h
  head/sys/dev/bxe/bxe.c
  head/sys/modules/bce/Makefile

Modified: head/share/man/man4/bce.4
==
--- head/share/man/man4/bce.4   Thu May  8 19:35:29 2014(r265702)
+++ head/share/man/man4/bce.4   Thu May  8 19:40:37 2014(r265703)
@@ -1,5 +1,4 @@
-.\ Copyright (c) 2006 Broadcom Corporation
-.\  David Christensen davi...@broadcom.com.  All rights reserved.
+.\ Copyright (c) 2006-2014 QLogic Corporation
 .\
 .\ Redistribution and use in source and binary forms, with or without
 .\ modification, are permitted provided that the following conditions
@@ -10,9 +9,6 @@
 .\ 2. Redistributions in binary form must reproduce the above copyright
 .\notice, this list of conditions and the following disclaimer in the
 .\documentation and/or other materials provided with the distribution.
-.\ 3. Neither the name of Broadcom Corporation nor the name of its 
contributors
-.\may be used to endorse or promote products derived from this software
-.\without specific prior written consent.
 .\
 .\ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS'
 .\ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -33,7 +29,7 @@
 .Os
 .Sh NAME
 .Nm bce
-.Nd Broadcom NetXtreme II (BCM5706/5708/5709/5716) PCI/PCIe Gigabit Ethernet 
adapter driver
+.Nd QLogic NetXtreme II (BCM5706/5708/5709/5716) PCI/PCIe Gigabit Ethernet 
adapter driver
 .Sh SYNOPSIS
 To compile this driver into the kernel,
 place the following lines in your
@@ -52,7 +48,7 @@ if_bce_load=YES
 .Sh DESCRIPTION
 The
 .Nm
-driver supports Broadcom's NetXtreme II product family, including the
+driver supports QLogic's NetXtreme II product family, including the
 BCM5706, BCM5708, BCM5709 and BCM5716 Ethernet controllers.
 .Pp
 The NetXtreme II product family is composed of various Converged NIC (or CNIC)
@@ -141,25 +137,25 @@ For more information on configuring this
 .Sh HARDWARE
 The
 .Nm
-driver provides support for various NICs based on the Broadcom NetXtreme II
+driver provides support for various NICs based on the QLogic NetXtreme II
 family of Gigabit Ethernet controllers, including the
 following:
 .Pp
 .Bl -bullet -compact
 .It
-Broadcom NetXtreme II BCM5706 1000Base-SX
+QLogic NetXtreme II BCM5706 1000Base-SX
 .It
-Broadcom NetXtreme II BCM5706 1000Base-T
+QLogic NetXtreme II BCM5706 1000Base-T
 .It
-Broadcom NetXtreme II BCM5708 1000Base-SX
+QLogic NetXtreme II BCM5708 1000Base-SX
 .It
-Broadcom NetXtreme II BCM5708 1000Base-T
+QLogic NetXtreme II BCM5708 1000Base-T
 .It
-Broadcom NetXtreme II BCM5709 1000Base-SX
+QLogic NetXtreme II BCM5709 1000Base-SX
 .It
-Broadcom NetXtreme II BCM5709 1000Base-T
+QLogic NetXtreme II BCM5709 1000Base-T
 .It
-Broadcom NetXtreme II BCM5716 1000Base-T
+QLogic NetXtreme II BCM5716 1000Base-T
 .It
 Dell PowerEdge 1950 integrated BCM5708 NIC
 .It
@@ -411,9 +407,11 @@ A controller hardware failure has occurr
 If the problem continues replace the controller.
 .El
 .Sh SUPPORT
-For general information and support,
-go to the Broadcom NIC Open Source Developer Resource Site:
-.Pa http://www.broadcom.com/support/ethernet_nic/open_source.php .
+For support questions please contact your QLogic approved reseller or
+QLogic Technical Support at
+.Pa http://support.qlogic.com ,
+or by E-mail at
+.Aq supp...@qlogic.com .
 .Sh SEE ALSO
 .Xr altq 4 ,
 .Xr arp 4 ,

Modified: head/share/man/man4/bxe.4
==
--- head/share/man/man4/bxe.4   Thu May  8 19:35:29 2014(r265702)
+++ head/share/man/man4/bxe.4   Thu May  8 19:40:37 2014(r265703)
@@ -1,4 +1,4 @@
-.\ Copyright (c) 2013 Broadcom Corporation. All rights reserved.
+.\ Copyright (c) 2014 Qlogic Corporation. All rights reserved.
 .\
 .\ Redistribution and use in source and binary forms, with or without
 .\ modification, are permitted provided that the following conditions
@@ -9,9 +9,6 @@
 .\ 2. Redistributions in binary form must reproduce the above copyright
 .\notice, this list of conditions and the following disclaimer in the
 .\documentation and/or other materials provided with the distribution.
-.\ 3. Neither the name of Broadcom Corporation nor the name of its 
contributors
-.\may be used to endorse or promote products derived from this software
-.\without specific prior written consent.
 .\
 .\ THIS SOFTWARE IS