just another coop student
- User Since
- Jan 10 2018, 7:12 PM (18 w, 5 d)
Fri, May 11
yeah I must've forgotten to do that sorry. Thanks!
Wed, May 2
changed the file name, and variables. build passes.
Tue, May 1
What is the preferred name for this driver? I basically used LAN78XX because that was the naming scheme linux went with. It's kind of confusing as this driver is used for also LAN7515 on raspberry pi's. My suggestion is: if_umicro.c since it's for microchip, and it starts with a u like other FreeBSD's usb-to-ethernet drivers. However, that naming doesn't have any info about the model.
more accurate error checking, style fixes.
Added error checking for offset in mii read callback.
Mon, Apr 30
removed the FDT includes, as they're for reading the MAC address from RPIs and are not implemented yet.
removed incomplete PHY driver from makefile.
More fixes, informally discussed with @emaste
more style fixes
Fri, Apr 27
reverted it back to use SMC2 as the vendor id.
Turns out SMC2 is the old Microchip. So I used that instead. We need to update the vendor description though! SMC2 doesn't represent microchip, which is the current company that makes micro things. :P
diff wrt the base of this project.
style fixes, removed all the TODOs in the code, and added a REMAINING FEATURES section.
Mon, Apr 23
Apr 2 2018
Feb 7 2018
Performed the changes proposed, had a slight problem understanding this comment. I did what I thought was right, if not just let me know :)
Feb 6 2018
Jan 24 2018
Jan 22 2018
tiny space between cu and command
the direction of the diff was backwards... my bad
applied the changes as suggested by @bcr
Jan 18 2018
Applied the changes suggested by @bcr.
Also, expanded the explanation with a brief tutorial on how to communicate with the device through the cu command.
updated the dial-in and dial-out serial enumerations on dev:
ttyd to ttyv
cuad to cuau
updated the diff with -U999999
changed the diff to one with context
This whole paragraph talks about the third serial port, sio2 or COM3, which is supposed to be on /dev/cuad2 for dial-out devices and /dev/ttyd2 for dial-in devices. when I do ls /dev/cua* I get these files:
/dev/cuaU0 /dev/cuaU0.init /dev/cuaU0.lock /dev/cuau0 /dev/cuau0.init /dev/cuau0.lock /dev/cuau2 /dev/cuau2.init /dev/cuau2.lock
removed all the usb-to-uart tutorial, to save it for a future review.
Jan 17 2018
Added another example for the cases where users use a usb-to-serial converter.