Re: make /dev/pci really readable
From: John-Mark Gurney (gurney_j_at_efn.org)
Date: 06/16/03
- Previous message: John-Mark Gurney: "Re: make /dev/pci really readable"
- In reply to: Robert Watson: "Re: make /dev/pci really readable"
- Next in thread: Scott Long: "Re: make /dev/pci really readable"
- Reply: Scott Long: "Re: make /dev/pci really readable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 16 Jun 2003 12:49:35 -0700 To: Robert Watson <rwatson@freebsd.org>
Robert Watson wrote this message on Mon, Jun 16, 2003 at 13:54 -0400:
> On Mon, 16 Jun 2003, John-Mark Gurney wrote:
> will affect all users in the system). Could you do that cleanup in the
> first pass, then revisit the permissions change?
ok, I've taken a look at it, and I don't see any major problems with it
besides what I mentioned earlier. I've attached a patch that only lets
you do pciconf -l (query pci devices we know about), but it also enforces
the register to be in valid bounds and also makes sure it's aligned. I
think it's safest to do it here. Should I copy the restrictions on
read into the write block (actually, take them out of the case so they
can be shared)?
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- text/plain attachment: pci_user.patch
- Previous message: John-Mark Gurney: "Re: make /dev/pci really readable"
- In reply to: Robert Watson: "Re: make /dev/pci really readable"
- Next in thread: Scott Long: "Re: make /dev/pci really readable"
- Reply: Scott Long: "Re: make /dev/pci really readable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]