aboutsummaryrefslogtreecommitdiff
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1999-08-01 18:12:51 +0000
committerWarner Losh <imp@FreeBSD.org>1999-08-01 18:12:51 +0000
commit0226bd1a3e6a1667b7e3f8aa9ab85c90fec2309f (patch)
tree669ad2618050c9eee9a6f5d62d2c6d1b3dc471b7 /sys/pccard/pcic.c
parent673b7bf48318cfbd63f9a01a5618a3a891cc4b07 (diff)
downloadsrc-0226bd1a3e6a1667b7e3f8aa9ab85c90fec2309f.tar.gz
src-0226bd1a3e6a1667b7e3f8aa9ab85c90fec2309f.zip
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.
Notes
Notes: svn path=/head/; revision=49352
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 be08130b68cc..278c388f5ed4 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
*/