Re: Writing Vlan driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looking through the implementation, it is just in net/dsa/*.c.   The
marvell specific file is mv88e6*.c, and the switch framework file is
dsa.c, which implement the register_switch_driver() API.

Question is:   does this hardware switching things depends on changes
in other parts of linux kernel which is not implemented in 2.6.21 yet?
 if no, then possibly just copying the whole set of files over (in
net/dsa/*.c), add little more patches, and whole thing may work?   if
yes, then u have a lot more work to do......look up how these dsa.c
patches came about.


On Wed, Jan 7, 2009 at 5:57 PM, Tekale Sharad-FHJN78
<FHJN78@xxxxxxxxxxxx> wrote:
>
> Hi Erik,
>
>>I think you can make your life so much easier if you just used 2.8.28
> and port your own changes to it. 2.6.21 is almost 2 >years old, that's
> considered "ancient" and "unsupported" in the Linux world.
>
> I wish I could do that, But our software got freezed and we only need to
> add extra support on top of it:(
>
> Hence I was looking for some support for Vlan on top of existing
> kernel...
>
> Regards,
> Sharad.
>
>
>
> -----Original Message-----
> From: Erik Mouw [mailto:mouw@xxxxxxxxxxxx]
> Sent: Wednesday, January 07, 2009 3:51 AM
> To: Tekale Sharad-FHJN78
> Cc: kernelnewbies@xxxxxxxxxxxx
> Subject: Re: Writing Vlan driver
>
> On Wed, 7 Jan 2009 13:51:22 +0800 "Tekale Sharad-FHJN78"
> <FHJN78@xxxxxxxxxxxx> wrote:
>> Erik Mouw wrote:
>>> No need to write that, support for IEEE 802.1Q VLAN has been in the
>>> kernel for ages.
>>
>>  I need to write the vlan driver for Marvell chip(88e6060),
>> fortunately it is supported in 2.6.28 kernel, but we are using
>> 2.6.21.5 kernel, hence my task is to port the vlan driver from 2.6.28
>> to 2.6.21.5(my kernel version).
>>
>> Could any one guide me on same?
>
> I think you can make your life so much easier if you just used 2.8.28
> and port your own changes to it. 2.6.21 is almost 2 years old, that's
> considered "ancient" and "unsupported" in the Linux world.
>
>
> Erik
>
> --
> Erik Mouw -- mouw@xxxxxxxxxxxx
> GPG key fingerprint: D6AC 7F15 A26E C5C4 62E0  4A58 FCF9 551C 9B48 B68D
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux