From owner-freebsd-hackers Wed Oct 11 02:51:10 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA02047 for hackers-outgoing; Wed, 11 Oct 1995 02:51:10 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA02035 for ; Wed, 11 Oct 1995 02:51:03 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id TAA14149 for hackers@freebsd.org; Wed, 11 Oct 1995 19:50:32 +0930 From: Michael Smith Message-Id: <199510111020.TAA14149@genesis.atrad.adelaide.edu.au> Subject: RS485 bus implementation... To: hackers@freebsd.org Date: Wed, 11 Oct 1995 19:50:32 +0930 (CST) Content-Type: text Content-Length: 1185 Sender: owner-hackers@freebsd.org Precedence: bulk Ok, after RTFS and soforth, it looks like I'll get away with folding something into the sio driver akin to the lp interface in the lpt driver. Having said that, I come to the next question 8) What's the ioctl to set/get the physical address for an interface? I've found SIO[GS]IFPHYSADDR in the if_fe driver, but these are effectively unused as the values don't appear to be defined anywhere. I need to be able to set the physical address for obvious reasons 8) Also, to mark an sio port for use as a multidrop interface, I guess I'll need a bit in the flags. Any objection to 0x40 (one to the right of the multiport bit?) And another; is there any information on the SOCK_RAW option to socket()? For my purposes, this is what I'll mostly be using, and the manpage refuses to talk about it 8( -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" -Terry Lambert UNIX: live FreeBSD or die! [[