Mario Lobo wrote:
> Hi;
>
> Would anyone have a tip on how to get the MAC from a C program?
>
> I tried:
>
> struct ifreq ifreq;
> unsigned char *hw;
>
> strcpy(ifreq.ifr_name, "rl0");
> ioctl(fd, SIOCGIFMAC, &ifreq);
> hw = ifreq.ifr_ifru.ifru_data;
This is probably v
Miguel Mendez wrote:
> On Thu, 29 Jun 2006 13:12:31 +0200
> Christian Zander <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I just saw an article on OSNews about this, seems I missed it.
>
> > NVIDIA has been looking at ways to improve its graphics driver for the
> > FreeBSD i386 platform, as well as in
Rick C. Petty wrote:
> What determines the probing order of the ports/channels on the PDC40718
> (Promise TX4 SATA300 controller)? The SATA ports are labeled "Port 1"
> through "Port 4". I have a total of four of these cards, and all of
> them repeatably probe out of order:
>
> label reported in
Jeremie Le Hen wrote:
> Hi Christophe,
>
> a quick glance at the archives whould have helped you.
I also experienced the problem and read the thread. I don't believe
anybody found and shared a way to solve it. The conclusion of the thread
was that the problem is more in the application then in Fr
On Wed, 22 Jun 2005, I wrote:
> Daniel Eischen wrote:
> > On Tue, 21 Jun 2005, Michal Mertl wrote:
> >
> > > Dag-Erling Smrgrav wrote:
> > > > Charles Sprickman <[EMAIL PROTECTED]> writes:
> > > > > 1. FreeBSD and threads. On FreeBSD there&
Daniel Eischen wrote:
> On Tue, 21 Jun 2005, Michal Mertl wrote:
>
> > Dag-Erling Smrgrav wrote:
> > > Charles Sprickman <[EMAIL PROTECTED]> writes:
> > > > 1. FreeBSD and threads. On FreeBSD there's a native user-level
> > > > implem
Dag-Erling Smørgrav wrote:
> Charles Sprickman <[EMAIL PROTECTED]> writes:
> > 1. FreeBSD and threads. On FreeBSD there's a native user-level
> > implementation of threads called 'pthread' and there's also an
> > optional ports collection 'linuxthreads' that uses kernel hooks.
>
> This is only the
but not on STABLE.
I understand that it's not very common to have more than ~4000 sockets but
I think it should be possible. It can be the reason of others' failures I
guess.
--
Michal Mertl
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Greg Shenaut wrote:
> In message <[EMAIL PROTECTED]>, Dan Nelson cleopede:
> >In the last episode (Feb 03), Alfred Perlstein said:
> >> * Michal Mertl <[EMAIL PROTECTED]> [020203 08:17] wrote:
> >> Not really sure what to make of this, anyone else know how
end->tv_usec -= start.tv_usec;
end->tv_sec -= start.tv_sec;
}
int
main()
{
u_int64_t i, j;
int k;
struct timeval st, en;
i = 0;
j = 10;
gettimeofday(&st, NULL);
for (k = 0; k < NUMTESTS; k++) {
atomic_add_64(&i, j
NG
drivers not it tree?).
PS: After changing kernel counters from 32 to 64 bit, some of world has to
be rebuild too (to notice the change in structs which contain the
counters). Namely ifconfig, netstat, systat and probably others.
--
Michal Mertl
[EMAIL PROTECTED]
To Unsubscribe: sen
11 matches
Mail list logo