[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101228.110106.226787796.davem@davemloft.net>
Date: Tue, 28 Dec 2010 11:01:06 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: tj@...nel.org
Cc: axboe@...nel.dk, linux-kernel@...r.kernel.org,
kay.sievers@...y.org, hch@...radead.org, linux-ide@...r.kernel.org
Subject: Re: [PATCH 04/16] ide: convert to bdops->check_events()
From: Tejun Heo <tj@...nel.org>
Date: Tue, 28 Dec 2010 18:29:00 +0100
> Convert ->media_changed() to the new ->check_events() method. The
> conversion is mostly mechanical. The only notable change is that
> cdrom now doesn't generate any event if @slot_nr isn't CDSL_CURRENT.
> It used to return -EINVAL which would be treated as media changed. As
> media changer isn't supported anyway, this doesn't make any
> difference.
>
> This makes ide emit the standard disk events and allows kernel event
> polling. Currently, only MEDIA_CHANGE event is implemented. Adding
> support for EJECT_REQUEST shouldn't be difficult; however, given that
> ide driver is already deprecated, it probably is best to leave it
> alone.
>
> Signed-off-by: Tejun Heo <tj@...nel.org>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists