Index: uspace/drv/block/pci-ide/pci-ide.c
===================================================================
--- uspace/drv/block/pci-ide/pci-ide.c	(revision 01d504978bc37b2e6e52acb18641bb8bfb13bd8f)
+++ uspace/drv/block/pci-ide/pci-ide.c	(revision 7cec2164e3bdb4c02f6ae514bc16e9c7c48be618)
@@ -605,5 +605,5 @@
 
 	if (dir == ata_dma_write) {
-		assert(buf_size < chan->dma_buf_size);
+		assert(buf_size <= chan->dma_buf_size);
 		memcpy(chan->dma_buf, buf, buf_size);
 	}
@@ -641,5 +641,5 @@
 
 	if (chan->cur_dir == ata_dma_read) {
-		assert(chan->cur_buf_size < chan->dma_buf_size);
+		assert(chan->cur_buf_size <= chan->dma_buf_size);
 		memcpy(chan->cur_buf, chan->dma_buf, chan->cur_buf_size);
 	}
