Buses, devices and modules

2006-06-23 Thread Artem Ignatiev
Hi all, I have a question regarding probe and attach routines. I've got 2 modules: for bus (mybus.ko) and for device (mydev.ko) on that bus. mydev.ko has MODULE_DEPEND(mydev, mybus, 1, 1, 1); When kldloading mydev.ko, mybus.ko is loading automatically, then it founds its device, attaches p

Re: help:Makefile template for device drivers with multiple directories

2006-06-08 Thread Artem Ignatiev
On 08.06.2006, at 14:13, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Need your helps again! The following is a Makefile template for a device driver in FreeBSD. But when my driver source codes locate in multiple directories (such as under osd/, engine/, and cam/), how to write the Makef

Re: RFC: Adding a ``user'' mount option

2006-04-09 Thread Artem Ignatiev
On 08.04.2006, at 5:04, Jeremy Baggs wrote: I suppose it would be nice to have something that works "out of the box", but the solution I have been using is group permissions on the devices and then making the mount point in fstab relative instead of absolute. ie: /dev/cd0 cdrom

Re: newbus questions

2006-03-22 Thread Artem Ignatiev
On 22.03.2006, at 22:23, John-Mark Gurney wrote: Okay, now I have got the bus device, the child device. My current trouble is that I want bus driver to provide some methods to child drivers. So I created saa_bus_if.m file, declared some methods there, made implementation in bus driver and added

Re: newbus questions

2006-03-22 Thread Artem Ignatiev
On 16.03.2006, at 15:06, Artem 'ZaZooBred' Ignatiev wrote: On Thu, 16/03/2006 12:35 +0100, Milan Obuch wrote: 1. How to create the bus itself, and properly describe its interfaces? skeletons of bus-driver and frontend-drivers would be a GREAT help. Being far from everything knowing

Re: Creating a ``Magic Button''

2004-02-24 Thread Artem Ignatiev
On Tue, 24.02.2004, at 14:40, Dag-Erling Smørgrav wrote: > Artem Ignatiev <[EMAIL PROTECTED]> writes: > > I thought that this will be useful feature - when system is almost dead, > > but syscons's still alive (and you have no debugger in kernel) try to > > minimize

Re: XFree86 debugging

2004-02-24 Thread Artem Ignatiev
On Tue, 24.02.2004, at 12:01, Joan Picanyol wrote: > [resent from questions@, no luck there :(] > > Hi, > > I've installed XFree86-Server-snap hoping to get DRI for my Radeon 9200. > In the process, I've found that X gets SIGABRT after (somewhat) long > inactivity periods. I recompiled with USE_D

Creating a ``Magic Button''

2004-02-23 Thread Artem Ignatiev
Hello, hackers Friend of mine, who's using linux, showed me once this kind of things: ``When I'm too bored to do shutdown, I use Alt-SysRq button. Sync-Sync-Sync, remount all fs to r/o, halt'' - or something like that. I thought that this will be useful feature - when system is almost dead, but s