Merged from sys/isa/fd.c revision 1.244.
This commit is contained in:
parent
cd72f2180b
commit
7a6794e9c4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109125
@ -1447,6 +1447,9 @@ fd_clone(void *arg, char *name, int namelen, dev_t *dev)
|
||||
return;
|
||||
if (dev_stdclone(name, &n, "fd", &u) != 2)
|
||||
return;
|
||||
if (u != fd->fdu)
|
||||
/* unit # mismatch */
|
||||
return;
|
||||
l = strlen(n);
|
||||
if (l == 1 && *n >= 'a' && *n <= 'h') {
|
||||
/*
|
||||
|
@ -1447,6 +1447,9 @@ fd_clone(void *arg, char *name, int namelen, dev_t *dev)
|
||||
return;
|
||||
if (dev_stdclone(name, &n, "fd", &u) != 2)
|
||||
return;
|
||||
if (u != fd->fdu)
|
||||
/* unit # mismatch */
|
||||
return;
|
||||
l = strlen(n);
|
||||
if (l == 1 && *n >= 'a' && *n <= 'h') {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user