1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Use new convenience function to read CIS rather than the older, harder to

use version.
This commit is contained in:
Warner Losh 2005-09-13 19:25:30 +00:00
parent d32e7ba722
commit 14ea0b7d32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150106

View File

@ -224,8 +224,7 @@ sn_pccard_megahertz_get_mac(device_t dev, u_char *eaddr)
* '3288 and '3336 cards have. That tuple specifies an ASCII
* string, ala CIS3 or CIS4 in the 'normal' cards.
*/
return CARD_CIS_SCAN(device_get_parent(dev), sn_pccard_megahertz_mac,
eaddr);
return (pccard_cis_scan(dev, sn_pccard_megahertz_mac, eaddr));
}
static int