Current-Users archive

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

Re: cardbus reads from not exist function



Hi! David,


From: David Young <dyoung%pobox.com@localhost>
Date: Mon, 30 Jun 2008 16:13:56 -0500

> On Mon, Jun 30, 2008 at 10:27:06PM +0200, Matthias Drochner wrote:
> > 
> > kiyohara%kk.iij4u.or.jp@localhost said:
> > > +#if 0
> > >         bcr |= PCI_BRIDGE_CONTROL_MABRT << PCI_BRIDGE_CONTROL_SHIFT;
> > > +#endif 

> properly understand this bug, first.  Looks to me like there is a crash
> in Cardbus_mapreg_unmap().  Previously, we had _map()'d the region.
> Why the crash?

I think this reason call cardbus_space_free(), and not call
cardbus_space_alloc().  I look this message,

  cardbus_mem_find: expected type mem, found i/o

reported by cardbus_mem_find() and return 1.  Therefore,
cardbus_mapreg_map() doesn't call cardbus_space_alloc().

Thanks,
--
kiyohara


Home | Main Index | Thread Index | Old Index