Fix pc98 build error due to missing variable.

Submitted by:	avg
This commit is contained in:
Alexander Motin 2009-02-20 14:10:23 +00:00
parent 0eee862a54
commit 72dc9f05dd

View File

@ -304,6 +304,7 @@ ata_cbuschannel_attach(device_t dev)
static int
ata_cbuschannel_detach(device_t dev)
{
struct ata_channel *ch = device_get_softc(dev);
if (!ch->attached)
return (0);