Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2001 11:50:05 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Dragon Fire <dragonfire820@mediaone.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: PCI device file. /dev/xxxx
Message-ID:  <20011201115004.A17375@Odin.AC.HMC.Edu>
In-Reply-To: <001001c17a7a$97349910$037d6041@gandalf>; from dragonfire820@mediaone.net on Sat, Dec 01, 2001 at 10:12:27AM -0500
References:  <001001c17a7a$97349910$037d6041@gandalf>

next in thread | previous in thread | raw e-mail | index | archive | help

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 01, 2001 at 10:12:27AM -0500, Dragon Fire wrote:
>=20
> I have created a PCI device driver but I have a problem. The core code was
> developed using the current make_device_driver.sh then modified to fill in
> the details of the device.
>=20
> The problem is the make_dev call in attach is succeeding but not making t=
he
> device node in /dev. If I make the device node manually everything works
> fine. Am I misundertstanding the purpose of make_dev or have I implmented
> something incorrectly.

I suspect you're misunderstanding.  In 5.0-current make_dev will create
a device node if you are running devfs (default), but on other releases,
you must do it yourself.  When adding a driver to the system you need to
add appropriate entries to src/etc/MAKEDEV (installed as /dev/MAKEDEV)
to allow creation of device nodes on non-devfs systems.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8CTRsXY6L6fI4GtQRAgKaAKDBce1QW1iW0ZsJDoJl8+qnHI08KwCg0Od+
TVYCdbRq7WsUyilX/08eNhU=
=s9ip
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011201115004.A17375>