Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Add skb bindings and safe smsc9512 driver #261

Description

@geofft

https://github.com/lizhuohua/linux-kernel-module-rust/tree/master/smsc9512 is a Rust driver for the onboard NIC on the Raspberry Pi 2 and 3 (it is in fact a USB Ethernet device despite being onboard), based on an older version of this project. It's mostly unsafe code, but it looks like it's mostly unsafe because there aren't safe skb (socket buffer) bindings, and skb seems like the sort of thing that would very much benefit from Rust's safety tools.

Let's write a safe skb abstraction and then try to port that driver over (which would also require getting things going for ARM, probably).

I'm pretty sure I have an RPi 2 somewhere in this apartment....

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions