summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-08-01 18:12:51 +0000
committerimp <imp@FreeBSD.org>1999-08-01 18:12:51 +0000
commitfcdf2e3fd01acc88eaaedeba3ba84345bd8736e7 (patch)
tree4e73414eab3d82a1d31cda39876cbcc2d785a835 /sys/pccard/pcic.c
parent564b182ca1eb133700db2d233b675a6543944077 (diff)
downloadFreeBSD-src-fcdf2e3fd01acc88eaaedeba3ba84345bd8736e7.zip
FreeBSD-src-fcdf2e3fd01acc88eaaedeba3ba84345bd8736e7.tar.gz
o Add additional printfs for error cases when we can't attach the device.
o Add field to dev_desc for the size of the io port range. This isn't used yet in the committed sources, but will make the transition easier in the future. If you build this into your kernel, you will need to rebuild pccardd.
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index be08130..278c388 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -854,7 +854,7 @@ pcic_ioctl(struct slot *slt, int cmd, caddr_t data)
switch(cmd) {
default:
- return(EINVAL);
+ return(ENOTTY);
/*
* Get/set PCIC registers
*/
OpenPOWER on IntegriCloud