On 23-Mar-01 Mark Sergeant wrote:
> pci0: (vendor=0x8086, dev=0x7195) at 0.1 irq 5
> pci0: (vendor=0x8086, dev=0x7196) at 0.2 irq 5
>
Mark,
this is Intel 440 MX sound.
I sent the driver code to Cameron Grant a while ago. So, it should appear
in the CVS tree soon.
Dmitry.
*
Hi fellows,
I'm writing some device driver which should pass some data to the user
space.
The part of the device read routine looks as follows:
--
int
dev_read(dev_t dev, struct uio *uio, int ioflag)
{
int err = 0;
/* ... */
amnt = MIN(uio->uio_resid, cnt
Also, if you do something like:
void *ptr = malloc(size);
...
ptr++;
free() will complain about it.
Make sure you are not modifying ptr after it has been malloc()ed.
On 22-Feb-01 Alfred Perlstein wrote:
> * Madhavi Suram <[EMAIL PROTECTED]> [010222 05:09] wrote:
>>
>
unsubscribe freebsd-hackers
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
unsubscribe freebsd-hackers
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Hi fellows,
Having nothing to do I installed windoze and faced with a problem:
I have freebsd on my hard drive 0 and windows 2000 on HD1.
Both bootable.
On boot from HD0 Boot Easy displays prompt
FreeBSD F1
Disk1 F5
When I push F5 FreeBSD boots. BUt I thought that windoze should.
If I disable
Hello fellows,
I just faced with a problem of a strange (may be not documented)
recvfrom() behaviour.
The fragment of the code is:
...
signal(SIGALRM, timeouttrap);
alarm(10);
i = recvfrom(sock, buf, len, 0, from, fromlen);
printf("%d bytes received\n",i);
v
Hi,
easy:
---
extern int errno;
int sem_lock(int semnumb)
{
struct sembuf sb[2];
sb[0].sem_num = semnumb;
sb[0].sem_op = -1;
sb[0].sem_flg = 0;
again:
if( semop(sh->sem, sb,1) )
{
errmsg("Semaphore %d erorr: %s\n",sh->sem, strerror(errno));
8 matches
Mail list logo