emulators/rtc and vmware2

2002-08-15 Thread dmk
Is anybody successfully using the port emulators/rtc with vmware2 on -current? While the port builds and installs fine, a /dev/rtc device never appears. ISTM that the rtc device does a make_dev as part of the device open() rather than at module load and that vmware doesn't work like that.

Re: emulators/rtc and vmware2

2002-08-15 Thread dmk
On Thu, Aug 15, 2002 at 07:11:05AM -0500 I heard the voice of dmk, and lo! it spake thus: Is anybody successfully using the port emulators/rtc with vmware2 on -current? [...] Replying to myself... I have since hacked rtc so it works with vmware2 on my -CURRENT system dated February 4, 2002

Re: emulators/rtc and vmware2

2002-08-16 Thread dmk
On Thu, 15 Aug 2002, dmk wrote: Is anybody successfully using the port emulators/rtc with vmware2 on -current? [...] On Thu, Aug 15, 2002 at 01:36:46PM -0400 Robert Watson wrote: My recollection is that the problem relates to calling make_dev() from the attach routine, and attach from

Re: emulators/rtc and vmware2

2002-08-16 Thread dmk
On Fri, Aug 16, 2002 at 04:31:49PM -0700 I heard the voice of Nate Lawson, and lo! it spake thus: On Fri, 16 Aug 2002, dmk wrote: [...] The attached diff effectively restructures the rtc device driver to perform the make_dev() at module load. The driver may have problems, but it does work