DragonFly kernel List (threaded) for 2006-12
DragonFly BSD
DragonFly kernel List (threaded) for 2006-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: PCI (ATA) lazy resource allocation patch


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Mon, 04 Dec 2006 20:11:24 +0100

Thomas E. Spanjaard wrote:
The attached patch adds a new option to the PCI code (options PCI_MAP_FIXUP) which enables code that does lazy allocation for memory/ioport resources in pci_alloc_resource(), and adds and allocates certain resources for PCI ATA controllers in legacy mode in pci_add_resources(). These resources are missing from the BARs, and as it's part of the PCI spec as special case [1], it should go here. The code comes from FreeBSD, who reasoned the same [2].

I think the lazy allocation is nice, but the ata part, I still don't like. Yet, I agree we should have it better hackish than not at all. Cleanup can come later...


cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]