Project

General

Profile

Bug #19

Provide an opensource version of pcn(7D)

Added by Jason King over 9 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
driver - device drivers
Start date:
2010-08-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Need an opensource replacement for the PCNet driver pcn(7d).

The old emancipation gate has an untested port of the BSD driver. This can be brought over, however it needs to be updated to use the public nemo interfaces.


Files

pcn-32 (23.4 KB) pcn-32 32-bit pcn driver, install as /kernel/drv/pcn Jason King, 2010-10-13 06:53 PM
pcn-64 (36.6 KB) pcn-64 64-bit pcn driver, install as /kernel/drv/amd64/pcn Jason King, 2010-10-13 06:53 PM

History

#1

Updated by David Höppner over 9 years ago

I started working on this at: https://bitbucket.org/0xffea/driver-gate/

#2

Updated by Andrey N. Oktyabrski over 9 years ago

Why not to use this driver?
http://homepage2.nifty.com/mrym3/taiyodo/eng/
(13. ae driver for AMD am79c97x PCNET ethernet chipset series)

#3

Updated by Jason King over 9 years ago

I don't believe it supports the public GLDv3 (nemo) interfaces

#4

Updated by andrew k7 over 9 years ago

The latest version of the ae driver seems to have the following features:

- BSD licence
- 32 and 64-bit binaries work OK on x86
- compiles on SPARC but has not been tested
- supports GLDv2 and 3 (aka nemo) but may use some "consolidation private" nemo APIs

#5

Updated by David Höppner over 9 years ago

yes, but it uses a glue and porting layer. which is ugly to have in onnv.

andrew k7 wrote:

The latest version of the ae driver seems to have the following features:

- BSD licence
- 32 and 64-bit binaries work OK on x86
- compiles on SPARC but has not been tested
- supports GLDv2 and 3 (aka nemo) but may use some "consolidation private" nemo APIs

#6

Updated by Jason King over 9 years ago

A webrev for a port of the freebsd driver is available at http://cr.opensolaris.org/~jbk/pcn (didn't have any other place to put it online the other night -- cr.illumos.org was acting funny). It builds without errors on a recent (~ within 1 week old) snapshot of illumos. I will be conducting tests over the next week or so (hopefully), but anyone else interested is invited to build and try it out (I can provide binaries if desired, I think the only non-public interface it uses is the MII bits, which haven't changed recently AFAIK, so it probably would work).

#7

Updated by Garrett D'Amore over 9 years ago

  • Assignee set to Jason King
#8

Updated by Jason King about 9 years ago

  • Status changed from New to In Progress

I have a port of the fbsd pcn driver that works under virtual box, once I'm able to procure the use of a working nicdrv setup (and it passes), should be able to put this back.

#9

Updated by Jason King about 9 years ago

  • % Done changed from 0 to 80

I have a GLDv3 driver that works with Virtual box. Once I can locate resources to run NICDRV against it (as well as validate it works on physical hardware), it should be good to go.

#10

Updated by Jason King about 9 years ago

A webrev is available at: http://cr.illumos.org/view/qdkzn29q/

I'm also attaching a copy of the driver for those that want an interim solution.

#11

Updated by Albert Lee about 8 years ago

  • Category set to driver - device drivers
  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100
  • Difficulty set to Medium
  • Tags set to needs-triage

Fixed in:
changeset: 13465:8a44db59c6f4
tag: tip
user: Jason King <>
date: Mon Sep 26 20:45:52 2011 -0400
files: exception_lists/closed-bins usr/src/man/man7d/Makefile usr/src/man/man7d/pcn.7d usr/src/pkg/manifests/driver-network-pcn.mf usr/src/uts/common/Makefile.files usr/src/uts/common/Makefile.rules usr/src/uts/common/io/pcn/THIRDPARTYLICENSE usr/src/uts/common/io/pcn/THIRDPARTYLICENSE.descrip usr/src/uts/common/io/pcn/pcn.c usr/src/uts/common/io/pcn/pcn.h usr/src/uts/common/io/pcn/pcnimpl.h usr/src/uts/intel/Makefile.intel.shared usr/src/uts/intel/pcn/Makefile
description:
19 Provide an opensource version of pcn(7D)
Reviewed by: Garret D'Amore <>
Reviewed by: Rich Lowe <>
Approved by: Albert Lee <>

Also available in: Atom PDF