freebsd-nq/sys/dev/fdc
Peter Wemm 37286586ff Patch up some of the evilness left over from the early newbus porting.
In particular:
 - Don't leave resources allocated in the probe routine.  Allocate them
   during probe and release them.  Probe's job is to identify devices only.
 - Don't abuse the ivars pointer.. (!).  Create real ivars and use the
   proper access system.  (the bus_read_ivar method)
 - Don't add the children until attach() has successfully grabbed the
   hardware, otherwise there are potential leaks if attach fails.
2000-01-05 16:31:27 +00:00
..
fdc.c Patch up some of the evilness left over from the early newbus porting. 2000-01-05 16:31:27 +00:00
fdcreg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00