Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1266547

Re: [PATCH 5/6] net: dsa: mv88e6060: add register defines header file

From Neil Armstrong <narmstrong@baylibre.com>
Newsgroups linux.kernel
Subject Re: [PATCH 5/6] net: dsa: mv88e6060: add register defines header file
Date 2015-11-10 15:50 +0100
Message-ID <qtipc-6iz-11@gated-at.bofh.it> (permalink)
References <qth9O-5Bq-37@gated-at.bofh.it> <qti5Q-6bC-11@gated-at.bofh.it>
Organization Baylibre

Show all headers | View raw


On 11/10/2015 03:25 PM, Vivien Didelot wrote:
> Hi Neil,
> 
> On Nov. Tuesday 10 (46) 02:25 PM, Neil Armstrong wrote:
>> To align with the mv88e6xxx code, add a similar header file
>> with all the register defines.
>> The file is based on the mv88e6xxx header for coherency.
>>
>> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> 
> In the RFC patchset, Andrew mentioned that there is not that much things in
> common with mv88e6xxx, so I don't really see a value to add a separate header
> file. Would that make sense to you guys to add the defines directly in
> mv88e6060.c and squash that in the last patch?
> 
>> ---
>>  drivers/net/dsa/mv88e6060.h | 108 ++++++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 108 insertions(+)
>>  create mode 100644 drivers/net/dsa/mv88e6060.h
>>
>> diff --git a/drivers/net/dsa/mv88e6060.h b/drivers/net/dsa/mv88e6060.h
>> new file mode 100644
>> index 0000000..adbc894
>> --- /dev/null
>> +++ b/drivers/net/dsa/mv88e6060.h
>> @@ -0,0 +1,108 @@
>> +/*
>> + * net/dsa/mv88e6060.h - Marvell 88e6060 switch chip support
>> + * Copyright (c) 2008 Marvell Semiconductor
> 
> Also I don't think the copyright notice is correct here.
> 
> Thanks,
> -v
> 
Vivien,

Is something like this OK ?
/*
 * drivers/net/dsa/mv88e6060.h - Marvell 88e6060 switch chip support
 * Copyright (c) 2015 Neil Armstrong
 *
 * Based on mv88e6xxx.h
 * Copyright (c) 2008 Marvell Semiconductor
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

Thanks,
Neil
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 5/6] net: dsa: mv88e6060: add register defines header file Neil Armstrong <narmstrong@baylibre.com> - 2015-11-10 14:30 +0100
  Re: [PATCH 5/6] net: dsa: mv88e6060: add register defines header file Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2015-11-10 15:30 +0100
    Re: [PATCH 5/6] net: dsa: mv88e6060: add register defines header file Andrew Lunn <andrew@lunn.ch> - 2015-11-10 15:40 +0100
      Re: [PATCH 5/6] net: dsa: mv88e6060: add register defines header file Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2015-11-10 15:40 +0100
    Re: [PATCH 5/6] net: dsa: mv88e6060: add register defines header file Neil Armstrong <narmstrong@baylibre.com> - 2015-11-10 15:50 +0100
      Re: [PATCH 5/6] net: dsa: mv88e6060: add register defines header file Andrew Lunn <andrew@lunn.ch> - 2015-11-10 16:00 +0100
      Re: [PATCH 5/6] net: dsa: mv88e6060: add register defines header file Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2015-11-10 16:00 +0100

csiph-web