1 |
|
/* |
2 |
|
* scsi_linux.cpp - SCSI Manager, Linux specific stuff |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2000 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2002 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
120 |
|
* Check if requested data size fits into buffer, allocate new buffer if needed |
121 |
|
*/ |
122 |
|
|
123 |
< |
static bool try_buffer(int size) |
123 |
> |
static bool try_buffer(uint32 size) |
124 |
|
{ |
125 |
|
size += sizeof(struct sg_header) + 12; |
126 |
|
if (size <= buffer_size) |