busdma_machdep.c (6d4b97158fa99be390dba1c61c1d1f547852aef6) busdma_machdep.c (fbbb13f962e52bf547c5a901fe6fbc4390f6be54)
1/*-
2 * Copyright (c) 1997, 1998 Justin T. Gibbs.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 1046 unchanged lines hidden (view full) ---

1055 "Total bounce requests");
1056 SYSCTL_ADD_INT(busdma_sysctl_tree(bz),
1057 SYSCTL_CHILDREN(busdma_sysctl_tree_top(bz)), OID_AUTO,
1058 "total_deferred", CTLFLAG_RD, &bz->total_deferred, 0,
1059 "Total bounce requests that were deferred");
1060 SYSCTL_ADD_STRING(busdma_sysctl_tree(bz),
1061 SYSCTL_CHILDREN(busdma_sysctl_tree_top(bz)), OID_AUTO,
1062 "lowaddr", CTLFLAG_RD, bz->lowaddrid, 0, "");
1/*-
2 * Copyright (c) 1997, 1998 Justin T. Gibbs.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 1046 unchanged lines hidden (view full) ---

1055 "Total bounce requests");
1056 SYSCTL_ADD_INT(busdma_sysctl_tree(bz),
1057 SYSCTL_CHILDREN(busdma_sysctl_tree_top(bz)), OID_AUTO,
1058 "total_deferred", CTLFLAG_RD, &bz->total_deferred, 0,
1059 "Total bounce requests that were deferred");
1060 SYSCTL_ADD_STRING(busdma_sysctl_tree(bz),
1061 SYSCTL_CHILDREN(busdma_sysctl_tree_top(bz)), OID_AUTO,
1062 "lowaddr", CTLFLAG_RD, bz->lowaddrid, 0, "");
1063 SYSCTL_ADD_INT(busdma_sysctl_tree(bz),
1063 SYSCTL_ADD_UQUAD(busdma_sysctl_tree(bz),
1064 SYSCTL_CHILDREN(busdma_sysctl_tree_top(bz)), OID_AUTO,
1064 SYSCTL_CHILDREN(busdma_sysctl_tree_top(bz)), OID_AUTO,
1065 "alignment", CTLFLAG_RD, &bz->alignment, 0, "");
1065 "alignment", CTLFLAG_RD, &bz->alignment, "");
1066
1067 return (0);
1068}
1069
1070static int
1071alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpages)
1072{
1073 struct bounce_zone *bz;

--- 149 unchanged lines hidden ---
1066
1067 return (0);
1068}
1069
1070static int
1071alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpages)
1072{
1073 struct bounce_zone *bz;

--- 149 unchanged lines hidden ---