diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-10-15 15:35:25 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-10-15 15:35:54 -0700 |
commit | d43d21c8cb0f917b65228852a03a7d501636f227 (patch) | |
tree | 0b27d3f0ccaa281e28e5e7dddf6d075a1bc7176e /src/solx_devfs.c | |
parent | 4c1c607c602e5e8d9277b9c01edfa7a8d10333cd (diff) |
Fix various typos (mostly in comments)
Diffstat (limited to 'src/solx_devfs.c')
-rw-r--r-- | src/solx_devfs.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/solx_devfs.c b/src/solx_devfs.c index a2daec1..6fe564c 100644 --- a/src/solx_devfs.c +++ b/src/solx_devfs.c @@ -113,7 +113,7 @@ static int pci_device_solx_devfs_read( struct pci_device * dev, void * data, static int pci_device_solx_devfs_write( struct pci_device * dev, const void * data, pciaddr_t offset, pciaddr_t size, - pciaddr_t * bytes_wrtten ); + pciaddr_t * bytes_written ); static int probe_dev(int fd, pcitool_reg_t *prg_p, struct pci_system *pci_sys); @@ -149,7 +149,7 @@ static const struct pci_system_methods solx_devfs_methods = { }; /* - * Rlease all the resources + * Release all the resources * Solaris version */ static void @@ -351,7 +351,7 @@ probe_dev(int fd, pcitool_reg_t *prg_p, struct pci_system *pci_sys) /* * Data came back as 0. - * Treat as unresponsive device amd check next device. + * Treat as unresponsive device and check next device. */ } else if (prg_p->data == 0) { rval = 0; @@ -379,7 +379,7 @@ probe_dev(int fd, pcitool_reg_t *prg_p, struct pci_system *pci_sys) } /* - * Found one device with bus numer, device number and + * Found one device with bus number, device number and * function number. */ @@ -417,7 +417,7 @@ probe_dev(int fd, pcitool_reg_t *prg_p, struct pci_system *pci_sys) pci_sys->num_devices++; /* - * Accomodate devices which state their + * Accommodate devices which state their * multi-functionality only in their function 0 config * space. Note multi-functionality throughout probing * of all of this device's functions. @@ -486,7 +486,7 @@ do_probe(int fd, struct pci_system *pci_sys) } } if (pci_sys->num_devices > MAX_DEVICES) { - (void) fprintf(stderr, "pci devices reach maximu number\n"); + (void) fprintf(stderr, "pci devices reach maximum number\n"); } return (rval); @@ -505,7 +505,7 @@ find_target_node(di_node_t node, void *arg) devnode = (i_devnode_t *)arg; /* - * Test the property funtions, only for testing + * Test the property functions, only for testing */ /* (void) fprintf(stderr, "start of node 0x%x\n", node->nodeid); |